Struct mio::Sender
[−]
[src]
pub struct Sender<M: Send> { /* 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