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]

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.

Trait Implementations

impl<T: Debug> Debug for Receiver<T>
[src]

Formats the value using the given formatter.

impl<T> IntoIterator for Receiver<T> where T: Deserialize
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more