pub struct Delay<'q, Backend: TimerQueueBackend> { /* private fields */ }
Expand description
Future returned by delay
and delay_until
.
Trait Implementations§
source§impl<Backend: TimerQueueBackend> Drop for Delay<'_, Backend>
impl<Backend: TimerQueueBackend> Drop for Delay<'_, Backend>
source§impl<Backend: TimerQueueBackend> Future for Delay<'_, Backend>
impl<Backend: TimerQueueBackend> Future for Delay<'_, Backend>
Auto Trait Implementations§
impl<'q, Backend> !Freeze for Delay<'q, Backend>
impl<'q, Backend> RefUnwindSafe for Delay<'q, Backend>
impl<'q, Backend> Send for Delay<'q, Backend>
impl<'q, Backend> Sync for Delay<'q, Backend>
impl<'q, Backend> !Unpin for Delay<'q, Backend>
impl<'q, Backend> UnwindSafe for Delay<'q, Backend>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more