Struct rotor::mio::IoEvent [] [src]

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

Fields

kind
token

Methods

impl IoEvent

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.

fn new(kind: EventSet, token: Token) -> IoEvent

Create a new IoEvent.

Trait Implementations

Derived Implementations

impl Copy for IoEvent

impl Clone for IoEvent

fn clone(&self) -> IoEvent

1.0.0fn clone_from(&mut self, source: &Self)

impl Eq for IoEvent

impl PartialEq<IoEvent> for IoEvent

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

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

impl Debug for IoEvent

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