Struct ordered_stream::FilterMap [−][src]
pub struct FilterMap<S, F> { /* fields omitted */ }
Expand description
A stream for the filter_map
function.
Trait Implementations
impl<S, F, R> OrderedStream for FilterMap<S, F> where
S: OrderedStream,
F: FnMut(S::Data) -> Option<R>,
impl<S, F, R> OrderedStream for FilterMap<S, F> where
S: OrderedStream,
F: FnMut(S::Data) -> Option<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