Expand description
Mio is a fast, low-level I/O library for Rust focusing on non-blocking APIs and event notification for building high performance I/O apps with as little overhead as possible over the OS abstractions.
Usage
Using Mio starts by creating a Poll
, which reads events from the OS and
puts them into Events
. You can handle I/O events from the OS with it.
For more detail, see Poll
.
Examples
Examples can found in the examples
directory of the source code, or on
GitHub.
Guide
A getting started guide is available in the guide
module.
Available features
The available features are described in the features
module.
Re-exports
pub use event::Events;
Modules
- Readiness event types and utilities.
- Mio’s optional features.
- Getting started guide.
- Networking primitives.
- Unix only extensions.
Structs
- Interest used in registering.
- Polls for readiness events on all registered values.
- Registers I/O resources.
- Associates readiness events with
event::Source
s. - Waker allows cross-thread waking of
Poll
.