Struct ethcore_io::IoChannel [] [src]

pub struct IoChannel<Message> where Message: Send + Clone { /* fields omitted */ }

Allows sending messages into the event loop. All the IO handlers will get the message in the message callback.

Methods

impl<Message> IoChannel<Message> where Message: Send + Clone + Sync + 'static
[src]

Send a message through the channel

Send a message through the channel and handle it synchronously

Send low level io message

Create a new channel disconnected from an event loop.

Create a new synchronous channel to a given handler.

Trait Implementations

impl<Message> Clone for IoChannel<Message> where Message: Send + Clone + Sync + 'static
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more