Struct async_std::stream::TakeWhile [−][src]
pub struct TakeWhile<S, P> { /* fields omitted */ }Expand description
A stream that yields elements based on a predicate.
This struct is created by the take_while method on Stream. See its
documentation for more.
Trait Implementations
Attempt to pull out the next value of this stream, registering the
current task for wakeup if the value is not yet available, and returning
None if the stream is exhausted. Read more