Trait std::future::IntoFuture
source · [−]pub trait IntoFuture {
type Output;
type IntoFuture: Future
where
<Self::IntoFuture as Future>::Output == Self::Output;
fn into_future(self) -> Self::IntoFuture;
}
Expand description
Conversion into a Future
.
Required Associated Types
The output that the future will produce on completion.
type IntoFuture: Future
where
<Self::IntoFuture as Future>::Output == Self::Output
type IntoFuture: Future
where
<Self::IntoFuture as Future>::Output == Self::Output
Which kind of future are we turning this into?