IntoGenerator

Trait IntoGenerator 

Source
pub trait IntoGenerator<T> {
    // Required method
    fn into_generator(self) -> GeneratorIter<T> ;
}

Required Methods§

Implementors§

Source§

impl<T, F: Future<Output = ()> + 'static> IntoGenerator<T> for F