Struct futures::future::Ready[][src]

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

A future that is immediately ready with a value

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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