[go: up one dir, main page]

mio_aio/
lib.rs

1//! MIO bindings for POSIX AIO
2//!
3//! # Feature Flags
4//!
5//! * `tokio` - Add extra methods needed for consumers to implement Tokio's
6//!             `AioSource` trait.
7//!
8//! # See Also
9//!
10//! * [`tokio-file`](https://docs.rs/tokio-file) - Tokio bindings that work atop
11//!   this crate.  Much more useful to the typical user.
12#![deny(missing_docs)]
13#![cfg_attr(docsrs, feature(doc_cfg))]
14// This lint is unhelpful.  See
15// https://github.com/rust-lang/rust-clippy/discussions/14256
16#![allow(clippy::doc_overindented_list_items)]
17
18mod aio;
19
20pub use aio::{
21    AioFsyncMode,
22    Fsync,
23    ReadAt,
24    ReadvAt,
25    Source,
26    SourceApi,
27    WriteAt,
28    WritevAt,
29};
30pub use nix::errno::Errno;