Struct asio::Coroutine [] [src]

pub struct Coroutine {
    // some fields omitted
}

Methods

impl Coroutine
[src]

fn yield_with<F: FnOnce() -> R, R>(&mut self, function: F) -> R

Trait Implementations

impl IoObject for Coroutine
[src]

fn io_service(&self) -> &IoService

Returns a IoService associated with this object.