Expand description
General IO module.
Structs§
- IoChannel
 - Allows sending messages into the event loop. All the IO handlers will get
the message in the 
messagecallback. - IoContext
 - IO access point. This is passed to all IO handlers and provides an interface to the IO subsystem.
 - IoManager
 - Root IO handler. Manages user handlers, messages and IO timers.
 - IoService
 - General IO Service. Starts an event loop and dispatches IO requests. ‘Message’ is a notification message type
 
Enums§
- IoError
 - IO Error
 - IoMessage
 - Messages used to communicate with the event loop from other threads.
 - Notify
Error  
Constants§
- LOCAL_
STACK_ SIZE  - Stack size Should be modified if it is changed in Rust since it is no way to know or get it
 - TOKENS_
PER_ HANDLER  - Maximum number of tokens a handler can use
 
Traits§
- IoHandler
 - Generic IO handler.
All the handler function are called from within IO event loop.
Messagetype is used as notification data - MapNon
Block  - A helper trait to provide the map_non_block function on Results.
 
Functions§
- would_
block  - Returns a std 
WouldBlockerror without allocating 
Type Aliases§
- Stream
Token  - Stream ID
 - Timer
Token  - Timer ID