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(..).

Trait Implementations

impl<T: Send> Send for Sender<T>

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

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

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

impl<T: Send> Drop for Sender<T>

fn drop(&mut self)