Struct mio::Sender [] [src]

pub struct Sender<M: Send> {
    // some fields omitted
}

Sends messages to the EventLoop from other threads.

Methods

impl<M: Send> Sender<M>
[src]

fn send(&self, msg: M) -> Result<()NotifyError<M>>

Trait Implementations

impl<M: Send> Clone for Sender<M>
[src]

fn clone(&self) -> Sender<M>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<M: Send> Debug for Sender<M>
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<M: Send> Sync for Sender<M>
[src]