Struct greentask::Resumer
[−]
[src]
pub struct Resumer<R, Y> { /* fields omitted */ }
Uses to resume task.
Methods
impl<R, Y> Resumer<R, Y>
[src]
fn resume_with(&mut self, r: R) -> Result<Y, Error>
Resumes coroutine with the next value and will return the next from Yielder
.