Crate mio[][src]

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.


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 can found in the examples directory of the source code, or on GitHub.


A getting started guide is available in the guide module.

Available features

The available features are described in the features module.


pub use event::Events;


Readiness event types and utilities.

Mio’s optional features.

Getting started guide.


Networking primitives.

unixUnix and os-ext

Unix only extensions.


Interest used in registering.

Polls for readiness events on all registered values.

Registers I/O resources.

Associates readiness events with event::Sources.

Waker allows cross-thread waking of Poll.