Struct futures_util::stream::NextIf [−][src]
#[must_use = "futures do nothing unless polled"]pub struct NextIf<'a, St: Stream, F> { /* fields omitted */ }
Future for the Peekable::next_if
method.
Trait Implementations
impl<St, F> FusedFuture for NextIf<'_, St, F> where
St: Stream,
F: for<'a> FnOnce1<&'a St::Item, Output = bool>,
[src]
impl<St, F> FusedFuture for NextIf<'_, St, F> where
St: Stream,
F: for<'a> FnOnce1<&'a St::Item, Output = bool>,
[src]fn is_terminated(&self) -> bool
[src]
impl<St, F> Future for NextIf<'_, St, F> where
St: Stream,
F: for<'a> FnOnce1<&'a St::Item, Output = bool>,
[src]
impl<St, F> Future for NextIf<'_, St, F> where
St: Stream,
F: for<'a> FnOnce1<&'a St::Item, Output = bool>,
[src]impl<'__pin, 'a, St: Stream, F> Unpin for NextIf<'a, St, F> where
__Origin<'__pin, 'a, St, F>: Unpin,
[src]
__Origin<'__pin, 'a, St, F>: Unpin,
Auto Trait Implementations
impl<'a, St, F> RefUnwindSafe for NextIf<'a, St, F> where
F: RefUnwindSafe,
St: RefUnwindSafe,
<St as Stream>::Item: RefUnwindSafe,
F: RefUnwindSafe,
St: RefUnwindSafe,
<St as Stream>::Item: RefUnwindSafe,
impl<'a, St, F> Send for NextIf<'a, St, F> where
F: Send,
St: Send,
<St as Stream>::Item: Send,
F: Send,
St: Send,
<St as Stream>::Item: Send,
impl<'a, St, F> Sync for NextIf<'a, St, F> where
F: Sync,
St: Sync,
<St as Stream>::Item: Sync,
F: Sync,
St: Sync,
<St as Stream>::Item: Sync,
impl<'a, St, F> !UnwindSafe for NextIf<'a, St, F>
Blanket Implementations
impl<F> IntoFuture for F where
F: Future,
[src]
impl<F> IntoFuture for F where
F: Future,
[src]type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?