Trait asio::Handler
[−]
[src]
pub trait Handler<R>: Send + 'static { fn callback(self, io: &IoService, res: Result<R>); }
Required Methods
Implementors
impl<T, F, R> Handler<R> for ArcHandler<T, F, R> where T: IoObject + Send + Sync + 'static, F: FnOnce(Arc<T>, Result<R>) + Send + 'static, R: Send + 'static
impl<T, F, R> Handler<R> for StrandHandler<T, F, R> where T: Send + 'static, F: FnOnce(Strand<T>, Result<R>) + Send + 'static, R: Send + 'static