Struct libc::pollfd
#[repr(C)]
pub struct pollfd {
pub fd: ::c_int,
pub events: ::c_short,
pub revents: ::c_short,
}
Fields
pub fd: ::c_int
pub events: ::c_short
pub revents: ::c_short
Trait Implementations
impl Debug for pollfd
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Hash for pollfd
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl StructuralEq for pollfd
impl StructuralPartialEq for pollfd
Auto Trait Implementations
impl RefUnwindSafe for pollfd
impl UnwindSafe for pollfd
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T