Struct mio::IoEvent [] [src]

pub struct IoEvent {
    pub kind: EventSet,
    pub token: Token,
}

Fields

Methods

impl IoEvent
[src]

IoEvent represents the raw event that the OS-specific selector returned. An event can represent more than one kind (such as readable or writable) at a time.

These IoEvent objects are created by the OS-specific concrete Selector when they have events to report.

Create a new IoEvent.

Trait Implementations

impl Copy for IoEvent
[src]

impl Clone for IoEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for IoEvent
[src]

impl PartialEq for IoEvent
[src]

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

This method tests for !=.

impl Debug for IoEvent
[src]

Formats the value using the given formatter.