RawIoContext

Trait RawIoContext 

Source
pub trait RawIoContext {
    // Required methods
    fn driver(&self) -> &Driver;
    fn poller(&self) -> Handle;
}
Expand description

Io context must implement this trait.

Required Methods§

Source

fn driver(&self) -> &Driver

Get driver reference of this context.

Source

fn poller(&self) -> Handle

Get poller handle of this context

Implementors§