pub trait Reactor { // Required method fn register( &self, socket: IOHandle, ) -> Result<Box<dyn AsyncIOHandle + Send>>; }
A common interface for registering IO handles in a reactor.
Register a synchronous handle, returning an asynchronous one