[−][src]Trait genawaiter::Generator
A trait implemented for generator types.
This is modeled after the stdlib's nightly-only std::ops::Generator
.
Associated Types
type Yield
The type of value this generator yields.
type Return
The type of value this generator returns upon completion.
Required methods
fn resume(self: Pin<&mut Self>) -> GeneratorState<Self::Yield, Self::Return>
Resumes the execution of this generator.