pub struct IoService<Message> where
    Message: Send + Sync + 'static, 
{ /* private fields */ }
Expand description

General IO Service. Starts an event loop and dispatches IO requests. ‘Message’ is a notification message type

Implementations

Starts IO event loop

Regiter an IO handler with the event loop.

Send a message over the network. Normaly HostIo::send should be used. This can be used from non-io threads.

Create a new message channel

Trait Implementations

Executes the destructor for this type. Read more

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.