Struct nix::sys::epoll::EpollEvent
#[repr(transparent)]
pub struct EpollEvent { /* fields hidden */ }
Implementations
impl EpollEvent
pub fn new(events: EpollFlags, data: u64) -> Self
pub fn empty() -> Self
pub fn events(&Self) -> EpollFlags
pub fn data(&Self) -> u64
Trait Implementations
impl Clone for EpollEvent
fn clone(&Self) -> EpollEvent
impl Copy for EpollEvent
impl Debug for EpollEvent
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for EpollEvent
impl Hash for EpollEvent
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl PartialEq<EpollEvent> for EpollEvent
fn eq(&Self, other: &EpollEvent) -> bool
fn ne(&Self, other: &EpollEvent) -> bool
impl StructuralEq for EpollEvent
impl StructuralPartialEq for EpollEvent
Auto Trait Implementations
impl RefUnwindSafe for EpollEvent
impl Send for EpollEvent
impl Sync for EpollEvent
impl Unpin for EpollEvent
impl UnwindSafe for EpollEvent
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T