# [−][src]Trait core::future::IntoFuture

    pub trait IntoFuture {
        type Output;
        type Future: Future<Output = Self::Output>;
        pub fn into_future(self) -> Self::Future;
    }

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

Conversion into a `Future`.

## Associated Types

### `type Output`[src]

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

The output that the future will produce on completion.

### `type Future: Future<Output = Self::Output>`[src]

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

Which kind of future are we turning this into?

Loading content...

## Required methods

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

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

Creates a future from a value.

Loading content...

## Implementors

### `impl<F: Future> IntoFuture for F`[src]

#### `type Output = F::Output`

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

#### `type Future = F`

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

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

🔬 This is a nightly-only experimental API. (`into_future` #67644)
Loading content...