pub trait IntoFuture {
    type Output;
    type IntoFuture: Future
    where
        <Self::IntoFuture as Future>::Output == Self::Output
; fn into_future(self) -> Self::IntoFuture; }
🔬 This is a nightly-only experimental API. (into_future)
Expand description

Conversion into a Future.

Associated Types

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

The output that the future will produce on completion.

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

Which kind of future are we turning this into?

Required methods

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

Creates a future from a value.

Implementors