Struct 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 Debug for IoEvent

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

impl PartialEq for IoEvent

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

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

impl Eq for IoEvent

impl Clone for IoEvent

fn clone(&self) -> IoEvent

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

impl Copy for IoEvent