Trait sexually_transmitted_disease::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
)Expand description
Conversion into a Future
.
Associated Types
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
Required methods
fn into_future(self) -> Self::Future
[src]
fn into_future(self) -> Self::Future
[src]🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.
Implementors
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)🔬 This is a nightly-only experimental API. (
into_future
)