Struct futures_intrusive::timer::TimerFuture
source · pub struct TimerFuture<'a> { /* private fields */ }
Expand description
A Future that is resolved once the requested time has elapsed.
Trait Implementations
sourceimpl<'a> Debug for TimerFuture<'a>
impl<'a> Debug for TimerFuture<'a>
sourceimpl<'a> FusedFuture for TimerFuture<'a>
impl<'a> FusedFuture for TimerFuture<'a>
sourcefn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true
if the underlying future should no longer be polled.sourceimpl<'a> Future for TimerFuture<'a>
impl<'a> Future for TimerFuture<'a>
impl<'a> Send for TimerFuture<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for TimerFuture<'a>
impl<'a> !Sync for TimerFuture<'a>
impl<'a> !Unpin for TimerFuture<'a>
impl<'a> !UnwindSafe for TimerFuture<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
sourcefn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more