Home
last modified time | relevance | path

Searched refs:Epoll (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/rustix/tests/io/
H A Depoll.rs4 use rustix::io::epoll::{self, Epoll};
33 let epoll = Epoll::new(epoll::CreateFlags::CLOEXEC, epoll::Owning::<OwnedFd>::new()).unwrap(); in server()
37 let epoll: Epoll<epoll::Owning<OwnedFd>> = fd.into(); in server()
39 let epoll = unsafe { Epoll::<epoll::Owning<OwnedFd>>::from_raw_fd(fd) }; in server()
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
H A Depoll.rs14 //! use rustix::io::epoll::{self, Epoll};
29 //! let epoll = Epoll::new(epoll::CreateFlags::CLOEXEC, epoll::Owning::new())?;
77 /// `EPOLL_*` for use with [`Epoll::new`].
85 /// `EPOLL*` for use with [`Epoll::add`].
119 pub struct Epoll<Context: self::Context> { structure names
124 impl<Context: self::Context> Epoll<Context> { impls
125 /// `epoll_create1(flags)`—Creates a new `Epoll`.
141 /// `Epoll`.
170 /// this `Epoll`.
196 /// this `Epoll`
[all...]
/third_party/rust/crates/rustix/src/backend/libc/io/
H A Depoll.rs14 //! use rustix::io::epoll::{self, Epoll};
29 //! let epoll = Epoll::new(epoll::CreateFlags::CLOEXEC, epoll::Owning::new())?;
76 /// `EPOLL_*` for use with [`Epoll::new`].
84 /// `EPOLL*` for use with [`Epoll::add`].
119 pub struct Epoll<Context: self::Context> { structure names
124 impl<Context: self::Context> Epoll<Context> { impls
125 /// `epoll_create1(flags)`—Creates a new `Epoll`.
143 /// `Epoll`.
173 /// this `Epoll`.
200 /// this `Epoll`
[all...]

Completed in 2 milliseconds