Enum reactor::EventType [] [src]

pub enum EventType {
    Readable,
    Writable,
    Disconnect,
    Notify(Tendril<Bytes, Atomic>),
    Timeout(usize),
}

The event types that will be handled by \Context::on_event

Variants

Socket has data waiting to be read

Socket has space available in its buffer for writing

Remote end of the socket has disconnected

Notify queue has received a message addressed to this socket

A timeout designated for this socket (via timeout_conn) has fired

Trait Implementations

Auto Trait Implementations

impl Send for EventType

impl Sync for EventType