#[repr(C, packed(1))]pub struct EpollEvent {
pub events: EpollEventKind,
pub data: u64,
}
Fields§
§events: EpollEventKind
§data: u64
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<P: IOProtocol> Handler<EpollEvent> for EchoHandler<P>
impl<P: IOProtocol> Handler<EpollEvent> for EchoHandler<P>
fn is_terminated(&self) -> bool
fn ready(&mut self, event: &EpollEvent)
Source§impl<L: LoggingBackend> Handler<EpollEvent> for Server<L>
impl<L: LoggingBackend> Handler<EpollEvent> for Server<L>
fn is_terminated(&self) -> bool
fn ready(&mut self, ev: &EpollEvent)
Source§impl Handler<EpollEvent> for SimpleLogging
impl Handler<EpollEvent> for SimpleLogging
fn is_terminated(&self) -> bool
fn ready(&mut self, _: &EpollEvent)
Source§impl<P> Handler<EpollEvent> for SimpleMux<P>where
P: IOProtocol,
impl<P> Handler<EpollEvent> for SimpleMux<P>where
P: IOProtocol,
fn is_terminated(&self) -> bool
fn ready(&mut self, _: &EpollEvent)
Source§impl<F: IOProtocol> Handler<EpollEvent> for SyncHandler<F>
impl<F: IOProtocol> Handler<EpollEvent> for SyncHandler<F>
fn is_terminated(&self) -> bool
fn ready(&mut self, ev: &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