Struct ethcore_io::IoChannel[][src]

pub struct IoChannel<Message> where
    Message: Send + Sync + 'static, 
{ /* 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 + Sync + 'static, 
[src]

Send a message through the channel

Send a message through the channel and handle it synchronously

Create a new channel disconnected from an event loop.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<Message> Send for IoChannel<Message>

impl<Message> Sync for IoChannel<Message>