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: DeserializeOwned
[src]

[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]

[src]

Formats the value using the given formatter. Read more

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

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

Auto Trait Implementations

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

impl<T> Sync for Receiver<T> where
    T: Sync