Crate mio[−][src]
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
event | Readiness event types and utilities. |
features | Mio’s optional features. |
guide | Getting started guide. |
net | Networking primitives. |
unix | Unix only extensions. |
Structs
Interest | Interest used in registering. |
Poll | Polls for readiness events on all registered values. |
Registry | Registers I/O resources. |
Token | Associates readiness events with |
Waker | Waker allows cross-thread waking of |