Type Alias dreadnought::future::LocalBoxFuture
pub type LocalBoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + 'a, Global>>;
Expand description
BoxFuture
, but without the Send
requirement.
Aliased Type§
struct LocalBoxFuture<'a, T> { /* private fields */ }
Trait Implementations§
§impl<P> FusedFuture for Pin<P>where
P: DerefMut + Unpin,
<P as Deref>::Target: FusedFuture,
impl<P> FusedFuture for Pin<P>where P: DerefMut + Unpin, <P as Deref>::Target: FusedFuture,
§fn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true
if the underlying future should no longer be polled.