Struct canal::mpmc::Sender
[−]
[src]
pub struct Sender<T: Send> { // some fields omitted }
The sending-half of the mpmc channel.
Methods
impl<T: Send> Sender<T>
fn send(&self, value: T) -> Result<(), T>
Sends data to the channel.
This method will never block, but may return an error with the value returned in the Err(..).