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