Struct hopper::Receiver
[−]
[src]
pub struct Receiver<T> { /* fields omitted */ }
The 'receive' side of hopper, similar to
std::sync::mpsc::Receiver
.
Methods
impl<T> Receiver<T> where T: Deserialize
[src]
fn iter<'a>(&'a mut self) -> Iter<'a, T>
An iterator over messages on a receiver, this iterator will block
whenever next
is called, waiting for a new message, and None
will be
returned when the corresponding channel has hung up.