Struct std::future::Ready 1.48.0[−][src]
pub struct Ready<T>(_);
Expand description
Creates a future that is immediately ready with a value.
This struct
is created by ready()
. See its
documentation for more.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Ready<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Ready<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
The output that the future will produce on completion.
Creates a future from a value.