Re-exports§
pub use crate::thread_model::*;
Modules§
Structs§
- Basic
MioDriver - Driver
- The driver to driving Asynchronous IO
- File
Mode - Handle
- File description handle. created by implementator.
- Interest
- Interest io event variant used in poll registering.
- Poll
Guard - RawDriver
ExtProxy - Adapter
RawDriverExt
trait toRawDriver
trait - Token
- File id for file description handle.
- Typed
Handle - Strong type version file handle.
Enums§
- Cmd
- File description control command.
- CmdResp
- The response of
fd_cntl
. - Description
- File description variants are used by the
fd_open
function to open fileHandle
. - Open
Flags - File description open flags used by
fd_open
method.
Traits§
- Into
RawDriver - IoSpawner
- RawDriver
- io driver must implement this trait.
- RawDriver
Ext - Easier to implement version of
RawDriver
trait - Token
Generator
Functions§
- current_
poller - get_
driver - Get the currently registered io driver, or return a NotFound error if it is not registered.
- io_
spawn - local_
mio_ driver - mio_
driver - register_
driver - Register new io driver
- register_
io_ spawner - Register local thread
Spawner
- register_
local_ io_ spawner - Register local thread
Spawner