Struct mio::Event [] [src]

pub struct Event { /* fields omitted */ }

An readiness event returned by Poll.

Event 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 Event objects are created by the OS-specific concrete Selector when they have events to report.

Methods

impl Event
[src]

Create a new Event.

Trait Implementations

impl Copy for Event
[src]

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Event
[src]

impl PartialEq for Event
[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 Event
[src]

Formats the value using the given formatter.