Struct futures_util::stream::NextIf [−][src]
pub struct NextIf<'a, St: Stream, F> { /* fields omitted */ }
Expand description
Future for the Peekable::next_if
method.
Trait Implementations
Returns true
if the underlying future should no longer be polled.
Auto Trait Implementations
impl<'a, St, F> RefUnwindSafe for NextIf<'a, St, F> where
F: RefUnwindSafe,
St: RefUnwindSafe,
<St as Stream>::Item: RefUnwindSafe,
impl<'a, St, F> !UnwindSafe for NextIf<'a, St, F>
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.