Skip to main content

IntoGenerator

Trait IntoGenerator 

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

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

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