pub struct Ready<T> { /* private fields */ }๐Deprecated since 3.0.2:
Use core::future::Ready instead.
Expand description
Implementationsยง
Sourceยงimpl<T> Ready<T>
impl<T> Ready<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Unwraps the value from this immediately ready future.
Trait Implementationsยง
impl<T> Unpin for Ready<T>
Auto Trait Implementationsยง
impl<T> Freeze for Ready<T>
impl<T> RefUnwindSafe for Ready<T>where
Option<T>: RefUnwindSafe,
impl<T> Send for Ready<T>
impl<T> Sync for Ready<T>
impl<T> UnsafeUnpin for Ready<T>where
Option<T>: UnsafeUnpin,
impl<T> UnwindSafe for Ready<T>where
Option<T>: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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