Struct unbounded_spsc::Receiver [] [src]

pub struct Receiver<T> { /* fields omitted */ }

Methods

impl<T> Receiver<T>
[src]

[src]

Non-blocking receive, returns Err (TryRecvError::Empty) if buffer was empty; will continue to receive pending messages from a disconnected channel until it is empty, at which point further calls to this function will return Err (TryRecvError::Disconnected).

[src]

Block waiting if no messages are pending in the buffer.

[src]

Important traits for Iter<'a, T>
[src]

Important traits for TryIter<'a, T>
[src]

[src]

[src]

[src]

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<T> IntoIterator for Receiver<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Important traits for IntoIter<T>
[src]

Creates an iterator from a value. Read more

impl<'a, T> IntoIterator for &'a Receiver<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Important traits for Iter<'a, T>
[src]

Creates an iterator from a value. Read more

impl<T> Drop for Receiver<T>
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

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

impl<T> !Sync for Receiver<T>