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
Readable
Socket has data waiting to be read
Writable
Socket has space available in its buffer for writing
Disconnect
Remote end of the socket has disconnected
Notify(Tendril<Bytes, Atomic>)
Notify queue has received a message addressed to this socket
Timeout(usize)
A timeout designated for this socket (via timeout_conn) has fired