#[repr(C)]pub struct PollEntry {
pub handle: *const c_void,
pub kind: u32,
pub events: u16,
pub revents: u16,
}Expand description
One poll entry. Only IN and OUT are requested. ERR, HUP and NVAL are reported regardless of the request. IGNORE entries always return zero. A null file/directory/socket or unknown kind reports NVAL.
Fields§
§handle: *const c_voidOpaque object of the type named by kind.
kind: u32§events: u16§revents: u16Auto Trait Implementations§
impl Freeze for PollEntry
impl RefUnwindSafe for PollEntry
impl !Send for PollEntry
impl !Sync for PollEntry
impl Unpin for PollEntry
impl UnsafeUnpin for PollEntry
impl UnwindSafe for PollEntry
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