Trait asyncio::Handler [] [src]

pub trait Handler<R>: Send + 'static {
    type Output;
    type AsyncResult: AsyncResult<Self::Output>;
    fn async_result(&self) -> Self::AsyncResult;
    fn callback(self, io: &IoService, res: Result<R>);
}

Associated Types

Required Methods

Implementors