[−][src]Function drone_core::future::from_generator
pub fn from_generator<T: Generator<Yield = ()>>(
x: T
) -> impl Future<Output = T::Return>
Wrap a generator in a future.
pub fn from_generator<T: Generator<Yield = ()>>(
x: T
) -> impl Future<Output = T::Return>
Wrap a generator in a future.