[][src]Struct futures_util::future::Ready

#[must_use = "futures do nothing unless polled"]
pub struct Ready<T>(_);

A future that is immediately ready with a value

Created by the ready() function.

Trait Implementations

impl<T: Debug> Debug for Ready<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for Ready<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Unpin for Ready<T>
[src]

impl<T> Future for Ready<T>
[src]

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

The result of the Future.

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations

impl<T> Send for Ready<T> where
    T: Send

impl<T> Sync for Ready<T> where
    T: Sync