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.