Crate mio

source ·
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§

Modules§

  • Readiness event types and utilities.
  • Mio’s optional features.
  • Getting started guide.
  • interest 🔒
  • io_source 🔒
  • macros 🔒
    Macros to ease conditional code based on enabled features.
  • Networking primitives.
  • poll 🔒
  • sys 🔒
    Module with system specific types.
  • token 🔒
  • Unix only extensions.
  • waker 🔒

Structs§