Struct ordered_stream::MapItem [−][src]
pub struct MapItem<S, F> { /* fields omitted */ }Expand description
A stream for the map_item function.
Trait Implementations
impl<S, F, R> OrderedStream for MapItem<S, F> where
S: OrderedStream,
F: FnMut(&S::Ordering, S::Data) -> R,
impl<S, F, R> OrderedStream for MapItem<S, F> where
S: OrderedStream,
F: FnMut(&S::Ordering, S::Data) -> R,
Attempt to pull out the next value of this stream, registering the current task for wakeup
if needed, and returning NoneBefore if it is known that the stream will not produce any
more values ordered before the given point. Read more