Trait futures::future::FutureFrom [−][src]
Asynchronous conversion from a type T
.
This trait is analogous to std::convert::From
, adapted to asynchronous
computation.
Associated Types
type Future: Future<Item = Self, Error = Self::Error>
[src]
The future for the conversion.
type Error
[src]
Possible errors during conversion.
Required methods
fn future_from(_: T) -> Self::Future
[src]
Consume the given value, beginning the conversion.