[−][src]Trait heim_common::prelude::futures::stream::FusedStream
A stream which tracks whether or not the underlying stream should no longer be polled.
is_terminated
will return true
if a future should no longer be polled.
Usually, this state occurs after poll_next
(or try_poll_next
) returned
Poll::Ready(None)
. However, is_terminated
may also return true
if a
stream has become inactive and can no longer make progress and should be
ignored or dropped rather than being polled again.
Required methods
pub fn is_terminated(&self) -> bool
[src]
Returns true
if the stream should no longer be polled.
Implementations on Foreign Types
impl<S> FusedStream for Box<S, Global> where
S: FusedStream + Unpin + ?Sized,
[src]
S: FusedStream + Unpin + ?Sized,
pub fn is_terminated(&self) -> bool
[src]
impl<P> FusedStream for Pin<P> where
P: DerefMut + Unpin,
<P as Deref>::Target: FusedStream,
[src]
P: DerefMut + Unpin,
<P as Deref>::Target: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<'_, F> FusedStream for &'_ mut F where
F: FusedStream + Unpin + ?Sized,
[src]
F: FusedStream + Unpin + ?Sized,
pub fn is_terminated(&self) -> bool
[src]
Implementors
impl<A, B> FusedStream for Either<A, B> where
A: FusedStream,
B: FusedStream<Item = <A as Stream>::Item>,
[src]
A: FusedStream,
B: FusedStream<Item = <A as Stream>::Item>,
pub fn is_terminated(&self) -> bool
[src]
impl<B, St, S, Fut, F> FusedStream for Scan<St, S, Fut, F> where
F: FnMut(&mut S, <St as Stream>::Item) -> Fut,
Fut: Future<Output = Option<B>>,
St: FusedStream,
[src]
F: FnMut(&mut S, <St as Stream>::Item) -> Fut,
Fut: Future<Output = Option<B>>,
St: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<F> FusedStream for FlattenStream<F> where
F: Future,
Flatten<F, <F as Future>::Output>: FusedStream,
[src]
F: Future,
Flatten<F, <F as Future>::Output>: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<F> FusedStream for heim_common::prelude::futures::future::IntoStream<F> where
Once<F>: FusedStream,
[src]
Once<F>: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<Fut> FusedStream for TryFlattenStream<Fut> where
Fut: TryFuture,
TryFlatten<Fut, <Fut as TryFuture>::Ok>: FusedStream,
[src]
Fut: TryFuture,
TryFlatten<Fut, <Fut as TryFuture>::Ok>: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<Fut> FusedStream for FuturesOrdered<Fut> where
Fut: Future,
[src]
Fut: Future,
pub fn is_terminated(&self) -> bool
[src]
impl<Fut> FusedStream for FuturesUnordered<Fut> where
Fut: Future,
[src]
Fut: Future,
pub fn is_terminated(&self) -> bool
[src]
impl<Fut> FusedStream for Once<Fut> where
Fut: Future,
[src]
Fut: Future,
pub fn is_terminated(&self) -> bool
[src]
impl<S> FusedStream for Fuse<S> where
S: Stream,
[src]
S: Stream,
pub fn is_terminated(&self) -> bool
[src]
impl<St1, St2> FusedStream for Chain<St1, St2> where
St1: Stream,
St2: FusedStream<Item = <St1 as Stream>::Item>,
[src]
St1: Stream,
St2: FusedStream<Item = <St1 as Stream>::Item>,
pub fn is_terminated(&self) -> bool
[src]
impl<St1, St2> FusedStream for Select<St1, St2> where
St1: Stream,
St2: Stream<Item = <St1 as Stream>::Item>,
[src]
St1: Stream,
St2: Stream<Item = <St1 as Stream>::Item>,
pub fn is_terminated(&self) -> bool
[src]
impl<St1, St2> FusedStream for Zip<St1, St2> where
St1: Stream,
St2: Stream,
[src]
St1: Stream,
St2: Stream,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for BufferUnordered<St> where
St: Stream,
<St as Stream>::Item: Future,
[src]
St: Stream,
<St as Stream>::Item: Future,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for CatchUnwind<St> where
St: UnwindSafe + FusedStream,
[src]
St: UnwindSafe + FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for Chunks<St> where
St: FusedStream,
[src]
St: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for Cycle<St> where
St: Clone + Stream,
[src]
St: Clone + Stream,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for Enumerate<St> where
St: Stream + FusedStream,
[src]
St: Stream + FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for Flatten<St> where
St: Stream,
Flatten<St, <St as Stream>::Item>: FusedStream,
[src]
St: Stream,
Flatten<St, <St as Stream>::Item>: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for heim_common::prelude::futures::stream::IntoStream<St> where
St: FusedStream + TryStream,
[src]
St: FusedStream + TryStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for Peekable<St> where
St: Stream,
[src]
St: Stream,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for ReadyChunks<St> where
St: FusedStream,
[src]
St: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for SelectAll<St> where
St: Unpin + Stream,
[src]
St: Unpin + Stream,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for Skip<St> where
St: FusedStream,
[src]
St: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for Take<St> where
St: FusedStream,
[src]
St: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St> FusedStream for TryFlatten<St> where
St: TryStream + FusedStream,
<St as TryStream>::Ok: TryStream,
<<St as TryStream>::Ok as TryStream>::Error: From<<St as TryStream>::Error>,
[src]
St: TryStream + FusedStream,
<St as TryStream>::Ok: TryStream,
<<St as TryStream>::Ok as TryStream>::Error: From<<St as TryStream>::Error>,
pub fn is_terminated(&self) -> bool
[src]
impl<St, E> FusedStream for ErrInto<St, E> where
MapErr<St, IntoFn<E>>: FusedStream,
[src]
MapErr<St, IntoFn<E>>: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, F> FusedStream for Inspect<St, F> where
Map<St, InspectFn<F>>: FusedStream,
[src]
Map<St, InspectFn<F>>: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, F> FusedStream for InspectErr<St, F> where
Inspect<IntoStream<St>, InspectErrFn<F>>: FusedStream,
[src]
Inspect<IntoStream<St>, InspectErrFn<F>>: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, F> FusedStream for InspectOk<St, F> where
Inspect<IntoStream<St>, InspectOkFn<F>>: FusedStream,
[src]
Inspect<IntoStream<St>, InspectOkFn<F>>: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, F> FusedStream for Map<St, F> where
F: FnMut1<<St as Stream>::Item>,
St: FusedStream,
[src]
F: FnMut1<<St as Stream>::Item>,
St: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, F> FusedStream for MapErr<St, F> where
Map<IntoStream<St>, MapErrFn<F>>: FusedStream,
[src]
Map<IntoStream<St>, MapErrFn<F>>: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, F> FusedStream for MapOk<St, F> where
Map<IntoStream<St>, MapOkFn<F>>: FusedStream,
[src]
Map<IntoStream<St>, MapOkFn<F>>: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, Fut> FusedStream for TakeUntil<St, Fut> where
Fut: Future,
St: Stream,
[src]
Fut: Future,
St: Stream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, Fut, F> FusedStream for AndThen<St, Fut, F> where
F: FnMut(<St as TryStream>::Ok) -> Fut,
Fut: TryFuture<Error = <St as TryStream>::Error>,
St: TryStream + FusedStream,
[src]
F: FnMut(<St as TryStream>::Ok) -> Fut,
Fut: TryFuture<Error = <St as TryStream>::Error>,
St: TryStream + FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, Fut, F> FusedStream for Filter<St, Fut, F> where
F: FnMut(&<St as Stream>::Item) -> Fut,
Fut: Future<Output = bool>,
St: Stream + FusedStream,
[src]
F: FnMut(&<St as Stream>::Item) -> Fut,
Fut: Future<Output = bool>,
St: Stream + FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, Fut, F> FusedStream for OrElse<St, Fut, F> where
F: FnMut(<St as TryStream>::Error) -> Fut,
Fut: TryFuture<Ok = <St as TryStream>::Ok>,
St: TryStream + FusedStream,
[src]
F: FnMut(<St as TryStream>::Error) -> Fut,
Fut: TryFuture<Ok = <St as TryStream>::Ok>,
St: TryStream + FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, Fut, F> FusedStream for SkipWhile<St, Fut, F> where
F: FnMut(&<St as Stream>::Item) -> Fut,
Fut: Future<Output = bool>,
St: FusedStream,
[src]
F: FnMut(&<St as Stream>::Item) -> Fut,
Fut: Future<Output = bool>,
St: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, Fut, F> FusedStream for TakeWhile<St, Fut, F> where
F: FnMut(&<St as Stream>::Item) -> Fut,
Fut: Future<Output = bool>,
St: FusedStream,
[src]
F: FnMut(&<St as Stream>::Item) -> Fut,
Fut: Future<Output = bool>,
St: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, Fut, F> FusedStream for Then<St, Fut, F> where
F: FnMut(<St as Stream>::Item) -> Fut,
Fut: Future,
St: FusedStream,
[src]
F: FnMut(<St as Stream>::Item) -> Fut,
Fut: Future,
St: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, Fut, F> FusedStream for TryFilter<St, Fut, F> where
F: FnMut(&<St as TryStream>::Ok) -> Fut,
Fut: Future<Output = bool>,
St: TryStream + FusedStream,
[src]
F: FnMut(&<St as TryStream>::Ok) -> Fut,
Fut: Future<Output = bool>,
St: TryStream + FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, Fut, F> FusedStream for TrySkipWhile<St, Fut, F> where
F: FnMut(&<St as TryStream>::Ok) -> Fut,
Fut: TryFuture<Ok = bool, Error = <St as TryStream>::Error>,
St: TryStream + FusedStream,
[src]
F: FnMut(&<St as TryStream>::Ok) -> Fut,
Fut: TryFuture<Ok = bool, Error = <St as TryStream>::Error>,
St: TryStream + FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, Fut, F> FusedStream for TryTakeWhile<St, Fut, F> where
F: FnMut(&<St as TryStream>::Ok) -> Fut,
Fut: TryFuture<Ok = bool, Error = <St as TryStream>::Error>,
St: TryStream + FusedStream,
[src]
F: FnMut(&<St as TryStream>::Ok) -> Fut,
Fut: TryFuture<Ok = bool, Error = <St as TryStream>::Error>,
St: TryStream + FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, Fut, F, T> FusedStream for FilterMap<St, Fut, F> where
F: FnMut1<<St as Stream>::Item, Output = Fut>,
Fut: Future<Output = Option<T>>,
St: Stream + FusedStream,
[src]
F: FnMut1<<St as Stream>::Item, Output = Fut>,
Fut: Future<Output = Option<T>>,
St: Stream + FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, Fut, F, T> FusedStream for TryFilterMap<St, Fut, F> where
F: FnMut(<St as TryStream>::Ok) -> Fut,
Fut: TryFuture<Ok = Option<T>, Error = <St as TryStream>::Error>,
St: TryStream + FusedStream,
[src]
F: FnMut(<St as TryStream>::Ok) -> Fut,
Fut: TryFuture<Ok = Option<T>, Error = <St as TryStream>::Error>,
St: TryStream + FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<St, U, F> FusedStream for FlatMap<St, U, F> where
Flatten<Map<St, F>, U>: FusedStream,
[src]
Flatten<Map<St, F>, U>: FusedStream,
pub fn is_terminated(&self) -> bool
[src]
impl<T> FusedStream for Empty<T>
[src]
pub fn is_terminated(&self) -> bool
[src]
impl<T> FusedStream for Pending<T>
[src]
pub fn is_terminated(&self) -> bool
[src]
impl<T> FusedStream for Repeat<T> where
T: Clone,
[src]
T: Clone,
pub fn is_terminated(&self) -> bool
[src]
impl<T, F, Fut, Item> FusedStream for Unfold<T, F, Fut> where
F: FnMut(T) -> Fut,
Fut: Future<Output = Option<(Item, T)>>,
[src]
F: FnMut(T) -> Fut,
Fut: Future<Output = Option<(Item, T)>>,