Struct greentask::Yielder [] [src]

pub struct Yielder<'a, R, Y> { /* fields omitted */ }

Passes to coroutine's context to yield values. This instances dont's creates manually.

Methods

impl<'a, R, Y> Yielder<'a, R, Y>
[src]

Yield value to Resumer and will return next one passed by Resumer.

Trait Implementations

impl<'a, R: Debug, Y: Debug> Debug for Yielder<'a, R, Y>
[src]

Formats the value using the given formatter.