pub struct IoManager<Message> where
    Message: Send + Sync
{ /* private fields */ }
Expand description

Root IO handler. Manages user handlers, messages and IO timers.

Implementations

Creates a new instance and registers it with the event loop.

Trait Implementations

👎 Deprecated since 0.6.5:

update to use Poll

👎 Deprecated since 0.6.5:

update to use Poll

👎 Deprecated since 0.6.5:

update to use Poll

Invoked when the socket represented by token is ready to be operated on. events indicates the specific operations that are ready to be performed. Read more

👎 Deprecated since 0.6.5:

update to use Poll

Invoked when a timeout has completed.

👎 Deprecated since 0.6.5:

update to use Poll

Invoked when a message has been received via the event loop’s channel.

👎 Deprecated since 0.6.5:

update to use Poll

Invoked when EventLoop has been interrupted by a signal interrupt.

👎 Deprecated since 0.6.5:

update to use Poll

Invoked at the end of an event loop tick.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.