Home
last modified time | relevance | path

Searched refs:EpollFlags (Results 1 - 2 of 2) sorted by relevance

/third_party/rust/crates/nix/test/sys/
H A Dtest_epoll.rs3 use nix::sys::epoll::{EpollCreateFlags, EpollEvent, EpollFlags, EpollOp};
21 EpollEvent::new(EpollFlags::EPOLLIN | EpollFlags::EPOLLERR, 1); in test_epoll_ctl()
/third_party/rust/crates/nix/src/sys/
H A Depoll.rs9 pub struct EpollFlags: c_int { structure names
51 pub fn new(events: EpollFlags, data: u64) -> Self { in new()
64 pub fn events(&self) -> EpollFlags { in events()
65 EpollFlags::from_bits(self.event.events as c_int).unwrap() in events()

Completed in 1 milliseconds