pub struct Messages<'a, T> {
// 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
fn next<'a, T: Send>(&mut self) -> Option<T>
fn map<B>(self, |T|: 'r -> B) -> Map<'r, T, B, Messages<'a, T>>
fn scan<St, B>(self, St, |&mut St, T|: 'r -> Option<B>) -> Scan<'r, T, B, Messages<'a, T>, St>
fn last<'a, T: Send>(&mut self) -> Option<T>
fn fold<B>(&mut self, B, |B, T| -> B) -> B
fn count<'a, T: Send>(&mut self) -> uint
fn all<'a, T: Send>(&mut self, |T| -> bool) -> bool
fn any<'a, T: Send>(&mut self, |T| -> bool) -> bool
fn find<'a, T: Send>(&mut self, |&T| -> bool) -> Option<T>
fn max_by<B: Ord>(&mut self, |&T| -> B) -> Option<T>
fn min_by<B: Ord>(&mut self, |&T| -> B) -> Option<T>
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).