pub struct Timeout<F> { /* private fields */ }
Trait Implementations§
Source§impl<F: Future> Future for Timeout<F>
impl<F: Future> Future for Timeout<F>
impl<'pin, F> Unpin for Timeout<F>where
PinnedFieldsOf<__Timeout<'pin, F>>: Unpin,
Auto Trait Implementations§
impl<F> Freeze for Timeout<F>where
F: Freeze,
impl<F> !RefUnwindSafe for Timeout<F>
impl<F> !Send for Timeout<F>
impl<F> !Sync for Timeout<F>
impl<F> !UnwindSafe for Timeout<F>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<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?
§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more