pub struct EpollEvent(/* private fields */);
Implementations§
Source§impl EpollEvent
impl EpollEvent
pub const fn new(user_data: u64, mask: EpollEventMask) -> EpollEvent
pub const fn get_data(&self) -> u64
pub const fn get_events(&self) -> EpollEventMask
Trait Implementations§
Source§impl Clone for EpollEvent
impl Clone for EpollEvent
Source§fn clone(&self) -> EpollEvent
fn clone(&self) -> EpollEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EpollEvent
impl Debug for EpollEvent
impl Copy for EpollEvent
Auto Trait Implementations§
impl Freeze for EpollEvent
impl RefUnwindSafe for EpollEvent
impl Send for EpollEvent
impl Sync for EpollEvent
impl Unpin for EpollEvent
impl UnwindSafe for EpollEvent
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