Trait std::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 #67644)
Expand description

转换为 Future

Associated Types

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

future 完成时将产生的输出。

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

我们要把它变成哪种 future?

Required methods

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

根据一个值创建一个 future。

Implementors

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