[−][src]Trait futures::future::FusedFuture
A Future
or TryFuture
which tracks whether or not the underlying future
should no longer be polled.
is_terminated
will return true
if a future should no longer be polled.
Usually, this state occurs after poll
(or try_poll
) returned
Poll::Ready
. However, is_terminated
may also return true
if a future
has become inactive and can no longer make progress and should be ignored
or dropped rather than being poll
ed again.
Required methods
fn is_terminated(&self) -> bool
Returns true
if the underlying future should no longer be polled.
Implementations on Foreign Types
impl<Fut> FusedFuture for UnitError<Fut> where
Fut: FusedFuture,
[src]
impl<Fut> FusedFuture for UnitError<Fut> where
Fut: FusedFuture,
fn is_terminated(&self) -> bool | [src] |
impl<'a, St> FusedFuture for SelectNextSome<'a, St> where
St: FusedStream,
[src]
impl<'a, St> FusedFuture for SelectNextSome<'a, St> where
St: FusedStream,
fn is_terminated(&self) -> bool | [src] |
impl<St, Fut, F> FusedFuture for ForEachConcurrent<St, Fut, F>
[src]
impl<St, Fut, F> FusedFuture for ForEachConcurrent<St, Fut, F>
fn is_terminated(&self) -> bool | [src] |
impl<St, Fut, F> FusedFuture for TryForEachConcurrent<St, Fut, F>
[src]
impl<St, Fut, F> FusedFuture for TryForEachConcurrent<St, Fut, F>
fn is_terminated(&self) -> bool | [src] |
impl<'_, F> FusedFuture for Pin<&'_ mut F> where
F: FusedFuture,
[src]
impl<'_, F> FusedFuture for Pin<&'_ mut F> where
F: FusedFuture,
fn is_terminated(&self) -> bool | [src] |
impl<F> FusedFuture for Pin<Box<F>> where
F: FusedFuture + ?Sized,
[src]
impl<F> FusedFuture for Pin<Box<F>> where
F: FusedFuture + ?Sized,
fn is_terminated(&self) -> bool | [src] |
impl<F> FusedFuture for Box<F> where
F: FusedFuture + ?Sized,
[src]
impl<F> FusedFuture for Box<F> where
F: FusedFuture + ?Sized,
fn is_terminated(&self) -> bool | [src] |
impl<F> FusedFuture for AssertUnwindSafe<F> where
F: FusedFuture,
[src]
impl<F> FusedFuture for AssertUnwindSafe<F> where
F: FusedFuture,
fn is_terminated(&self) -> bool | [src] |
impl<'_, F> FusedFuture for &'_ mut F where
F: FusedFuture + ?Sized,
[src]
impl<'_, F> FusedFuture for &'_ mut F where
F: FusedFuture + ?Sized,
fn is_terminated(&self) -> bool | [src] |
Implementors
impl<'_, St> FusedFuture for Next<'_, St> where
St: FusedStream,
[src]
impl<'_, St> FusedFuture for Next<'_, St> where
St: FusedStream,
fn is_terminated(&self) -> bool | [src] |
impl<'_, St> FusedFuture for TryNext<'_, St> where
St: Unpin + FusedStream,
[src]
impl<'_, St> FusedFuture for TryNext<'_, St> where
St: Unpin + FusedStream,
fn is_terminated(&self) -> bool | [src] |
impl<'_, T> FusedFuture for MutexLockFuture<'_, T>
[src]
impl<'_, T> FusedFuture for MutexLockFuture<'_, T>
fn is_terminated(&self) -> bool | [src] |
impl<F> FusedFuture for Lazy<F>
[src]
impl<F> FusedFuture for Lazy<F>
fn is_terminated(&self) -> bool | [src] |
impl<Fut> FusedFuture for MaybeDone<Fut> where
Fut: Future,
[src]
impl<Fut> FusedFuture for MaybeDone<Fut> where
Fut: Future,
fn is_terminated(&self) -> bool | [src] |
impl<Fut> FusedFuture for Flatten<Fut> where
Fut: Future,
<Fut as Future>::Output: Future,
[src]
impl<Fut> FusedFuture for Flatten<Fut> where
Fut: Future,
<Fut as Future>::Output: Future,
fn is_terminated(&self) -> bool | [src] |
impl<Fut> FusedFuture for Fuse<Fut> where
Fut: Future,
[src]
impl<Fut> FusedFuture for Fuse<Fut> where
Fut: Future,
fn is_terminated(&self) -> bool | [src] |
impl<Fut> FusedFuture for IntoFuture<Fut> where
Fut: FusedFuture,
[src]
impl<Fut> FusedFuture for IntoFuture<Fut> where
Fut: FusedFuture,
fn is_terminated(&self) -> bool | [src] |
impl<Fut> FusedFuture for Shared<Fut> where
Fut: Future,
[src]
impl<Fut> FusedFuture for Shared<Fut> where
Fut: Future,
fn is_terminated(&self) -> bool | [src] |
impl<Fut, E> FusedFuture for ErrInto<Fut, E> where
Fut: FusedFuture,
[src]
impl<Fut, E> FusedFuture for ErrInto<Fut, E> where
Fut: FusedFuture,
fn is_terminated(&self) -> bool | [src] |
impl<Fut, F> FusedFuture for Inspect<Fut, F> where
Fut: Future + FusedFuture,
[src]
impl<Fut, F> FusedFuture for Inspect<Fut, F> where
Fut: Future + FusedFuture,
fn is_terminated(&self) -> bool | [src] |
impl<Fut, F> FusedFuture for Map<Fut, F>
[src]
impl<Fut, F> FusedFuture for Map<Fut, F>
fn is_terminated(&self) -> bool | [src] |
impl<Fut, F> FusedFuture for MapErr<Fut, F>
[src]
impl<Fut, F> FusedFuture for MapErr<Fut, F>
fn is_terminated(&self) -> bool | [src] |
impl<Fut, F> FusedFuture for MapOk<Fut, F>
[src]
impl<Fut, F> FusedFuture for MapOk<Fut, F>
fn is_terminated(&self) -> bool | [src] |
impl<Fut, F> FusedFuture for UnwrapOrElse<Fut, F>
[src]
impl<Fut, F> FusedFuture for UnwrapOrElse<Fut, F>
fn is_terminated(&self) -> bool | [src] |
impl<Fut1, Fut2, F> FusedFuture for AndThen<Fut1, Fut2, F> where
F: FnOnce(<Fut1 as TryFuture>::Ok) -> Fut2,
Fut1: TryFuture,
Fut2: TryFuture<Error = <Fut1 as TryFuture>::Error>,
[src]
impl<Fut1, Fut2, F> FusedFuture for AndThen<Fut1, Fut2, F> where
F: FnOnce(<Fut1 as TryFuture>::Ok) -> Fut2,
Fut1: TryFuture,
Fut2: TryFuture<Error = <Fut1 as TryFuture>::Error>,
fn is_terminated(&self) -> bool | [src] |
impl<Fut1, Fut2, F> FusedFuture for OrElse<Fut1, Fut2, F> where
F: FnOnce(<Fut1 as TryFuture>::Error) -> Fut2,
Fut1: TryFuture,
Fut2: TryFuture<Ok = <Fut1 as TryFuture>::Ok>,
[src]
impl<Fut1, Fut2, F> FusedFuture for OrElse<Fut1, Fut2, F> where
F: FnOnce(<Fut1 as TryFuture>::Error) -> Fut2,
Fut1: TryFuture,
Fut2: TryFuture<Ok = <Fut1 as TryFuture>::Ok>,
fn is_terminated(&self) -> bool | [src] |
impl<Fut1, Fut2, F> FusedFuture for Then<Fut1, Fut2, F>
[src]
impl<Fut1, Fut2, F> FusedFuture for Then<Fut1, Fut2, F>
fn is_terminated(&self) -> bool | [src] |
impl<St> FusedFuture for StreamFuture<St>
[src]
impl<St> FusedFuture for StreamFuture<St>
fn is_terminated(&self) -> bool | [src] |
impl<St, C> FusedFuture for Collect<St, C> where
St: FusedStream,
[src]
impl<St, C> FusedFuture for Collect<St, C> where
St: FusedStream,
fn is_terminated(&self) -> bool | [src] |
impl<St, C> FusedFuture for TryCollect<St, C> where
St: FusedStream,
[src]
impl<St, C> FusedFuture for TryCollect<St, C> where
St: FusedStream,
fn is_terminated(&self) -> bool | [src] |
impl<St, Fut, F> FusedFuture for ForEach<St, Fut, F> where
St: FusedStream,
[src]
impl<St, Fut, F> FusedFuture for ForEach<St, Fut, F> where
St: FusedStream,
fn is_terminated(&self) -> bool | [src] |
impl<St, Fut, T, F> FusedFuture for Fold<St, Fut, T, F>
[src]
impl<St, Fut, T, F> FusedFuture for Fold<St, Fut, T, F>
fn is_terminated(&self) -> bool | [src] |
impl<St, Fut, T, F> FusedFuture for TryFold<St, Fut, T, F>
[src]
impl<St, Fut, T, F> FusedFuture for TryFold<St, Fut, T, F>
fn is_terminated(&self) -> bool | [src] |
impl<St, Si> FusedFuture for Forward<St, Si> where
Si: Unpin + Sink,
St: Stream,
[src]
impl<St, Si> FusedFuture for Forward<St, Si> where
Si: Unpin + Sink,
St: Stream,
fn is_terminated(&self) -> bool | [src] |
impl<T> FusedFuture for Empty<T>
[src]
impl<T> FusedFuture for Empty<T>
fn is_terminated(&self) -> bool | [src] |
impl<T> FusedFuture for Ready<T>
[src]
impl<T> FusedFuture for Ready<T>
fn is_terminated(&self) -> bool | [src] |