pub struct EpollWait { /* private fields */ }
Expand description
Issue the equivalent of a epoll_wait(2)
system call.
Implementations§
Source§impl EpollWait
impl EpollWait
Sourcepub const CODE: u8 = 59u8
pub const CODE: u8 = 59u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.
pub fn new(fd: impl UseFixed, events: *mut epoll_event, max_events: u32) -> Self
pub const fn flags(self, flags: u32) -> Self
pub fn build(self) -> Entry
Auto Trait Implementations§
impl Freeze for EpollWait
impl RefUnwindSafe for EpollWait
impl !Send for EpollWait
impl !Sync for EpollWait
impl Unpin for EpollWait
impl UnwindSafe for EpollWait
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more