Struct rotor::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

Create a new Event.

Trait Implementations

impl PartialEq<Event> for Event

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

Formats the value using the given formatter.

impl Copy for Event

impl Eq for Event

impl Clone for Event

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more