Struct std::sync::mpsc::IterStable [-] [+] [src]

pub struct Iter<'a, T: 'a> {
    // some fields omitted
}

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<'a, T: Send + 'static> Iterator for Iter<'a, T>

type Item = T

fn next(&mut self) -> Option<T>

fn size_hint(&self) -> (usize, Option<usize>)