pub struct Sleep<'ctx, const TIMERS: usize> { /* private fields */ }Expand description
A sleep future.
Trait Implementations§
Auto Trait Implementations§
impl<'ctx, const TIMERS: usize> !RefUnwindSafe for Sleep<'ctx, TIMERS>
impl<'ctx, const TIMERS: usize> !Send for Sleep<'ctx, TIMERS>
impl<'ctx, const TIMERS: usize> !Sync for Sleep<'ctx, TIMERS>
impl<'ctx, const TIMERS: usize> !UnwindSafe for Sleep<'ctx, TIMERS>
impl<'ctx, const TIMERS: usize> Forget for Sleep<'ctx, TIMERS>
impl<'ctx, const TIMERS: usize> Freeze for Sleep<'ctx, TIMERS>where
&'ctx Timers<TIMERS>: Freeze,
impl<'ctx, const TIMERS: usize> Unpin for Sleep<'ctx, TIMERS>where
&'ctx Timers<TIMERS>: Unpin,
impl<'ctx, const TIMERS: usize> UnsafeUnpin for Sleep<'ctx, TIMERS>where
&'ctx Timers<TIMERS>: UnsafeUnpin,
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