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>

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

Trait Implementations

impl<M: Send> Clone for Sender<M>

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

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

impl<M: Send> Debug for Sender<M>

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

impl<M: Send> Sync for Sender<M>