Trait wasmtime_wiggle::bitflags::_core::future::IntoFuture[][src]

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

Conversion into a Future.

Associated Types

type Output[src]

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

The output that the future will produce on completion.

type Future: Future[src]

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

Which kind of future are we turning this into?

Required methods

fn into_future(self) -> Self::Future[src]

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

Creates a future from a value.

Implementors

impl<F> IntoFuture for F where
    F: Future
[src]

type Output = <F as Future>::Output

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

type Future = F

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

pub fn into_future(self) -> <F as IntoFuture>::Future[src]

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