Trait std::future::IntoFuture [−][src]
pub trait IntoFuture {
type Output;
type Future: Future;
fn into_future(self) -> Self::Future;
}
Expand description
转换为 Future
。
pub trait IntoFuture {
type Output;
type Future: Future;
fn into_future(self) -> Self::Future;
}
转换为 Future
。