Struct mioco::Event [] [src]

pub struct Event {
    // some 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 PartialEq for Event
[src]

fn eq(&self, __arg_0: &Event) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Event) -> bool

This method tests for !=.

impl Eq for Event
[src]

impl Debug for Event
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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

impl Copy for Event
[src]