Struct stream_cancel::TakeUntilIf [−][src]
pub struct TakeUntilIf<S, F> { /* fields omitted */ }
Expand description
A stream combinator which takes elements from a stream until a future resolves.
This structure is produced by the StreamExt::take_until_if
method.
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
Auto Trait Implementations
impl<S, F> RefUnwindSafe for TakeUntilIf<S, F> where
F: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, F> Send for TakeUntilIf<S, F> where
F: Send,
S: Send,
impl<S, F> Sync for TakeUntilIf<S, F> where
F: Sync,
S: Sync,
impl<S, F> UnwindSafe for TakeUntilIf<S, F> where
F: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more