pub struct Timeout<T, F> { /* private fields */ }
Expand description
The timeout future returned by the timeout functions
Trait Implementations§
Source§impl<T, F> Future for Timeout<T, F>
impl<T, F> Future for Timeout<T, F>
impl<'__pin, T, F> Unpin for Timeout<T, F>where
PinnedFieldsOf<__Origin<'__pin, T, F>>: Unpin,
Auto Trait Implementations§
impl<T, F> Freeze for Timeout<T, F>
impl<T, F> !RefUnwindSafe for Timeout<T, F>
impl<T, F> Send for Timeout<T, F>
impl<T, F> Sync for Timeout<T, F>
impl<T, F> !UnwindSafe for Timeout<T, F>
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