Struct canal::mpmc::Receiver [] [src]

pub struct Receiver<T: Send> {
    // some fields omitted
}

The receiving-half of the mpmc channel.

Methods

impl<T: Send> Receiver<T>

fn recv(&self) -> Result<T, Failure>

Receive data from the channel.

This method will block until either new data is sent or all senders have disconnected.

Trait Implementations

impl<T: Send> Send for Receiver<T>

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

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

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

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

fn drop(&mut self)