Struct mioco::Event
[−]
[src]
pub struct Event { /* fields omitted */ }
Event delivered to the coroutine
Read and/or Write + event source ID
Methods
impl Event
[src]
fn id(&self) -> EventSourceId
Index of the EventedShared handle
fn has_read(&self) -> bool
Was the event a read
fn has_write(&self) -> bool
Was the event a write
Trait Implementations
impl Copy for Event
[src]
impl Clone for Event
[src]
fn clone(&self) -> Event
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more