[−][src]Trait futures_core::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<F: FusedFuture, '_> FusedFuture for Pin<&'_ mut F>
[src]
impl<F: FusedFuture, '_> FusedFuture for Pin<&'_ mut F>
fn is_terminated(&self) -> bool | [src] |
impl<F: FusedFuture + ?Sized, '_> FusedFuture for &'_ mut F
[src]
impl<F: FusedFuture + ?Sized, '_> FusedFuture for &'_ mut F
fn is_terminated(&self) -> bool | [src] |
impl<F: FusedFuture + ?Sized> FusedFuture for Box<F>
[src]
impl<F: FusedFuture + ?Sized> FusedFuture for Box<F>
fn is_terminated(&self) -> bool | [src] |
impl<F: FusedFuture + ?Sized> FusedFuture for Pin<Box<F>>
[src]
impl<F: FusedFuture + ?Sized> FusedFuture for Pin<Box<F>>
fn is_terminated(&self) -> bool | [src] |
impl<F: FusedFuture> FusedFuture for AssertUnwindSafe<F>
[src]
impl<F: FusedFuture> FusedFuture for AssertUnwindSafe<F>
fn is_terminated(&self) -> bool | [src] |