Struct futures_util::future::Ready [−][src]
#[must_use = "futures do nothing unless you `.await` or poll them"]pub struct Ready<T>(_);
Future for the ready
function.
Implementations
impl<T> Ready<T>
[src]
impl<T> Ready<T>
[src]pub fn into_inner(self) -> T
[src]
Unwraps the value from this immediately ready future.
Trait Implementations
impl<T> FusedFuture for Ready<T>
[src]
impl<T> FusedFuture for Ready<T>
[src]fn is_terminated(&self) -> bool
[src]
impl<T> Unpin for Ready<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Ready<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Ready<T> where
T: Send,
T: Send,
impl<T> Sync for Ready<T> where
T: Sync,
T: Sync,
impl<T> UnwindSafe for Ready<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<F> IntoFuture for F where
F: Future,
[src]
impl<F> IntoFuture for F where
F: Future,
[src]type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?