io_stream/coroutines/mod.rs
1//! Collection of I/O-free, resumable and composable stream state
2//! machines.
3//!
4//! Coroutines emit [`Io`] requests that need to be processed by
5//! [runtimes] in order to continue their progression.
6//!
7//! [`Io`]: crate::Io
8//! [runtimes]: crate::runtimes
9
10mod read;
11#[path = "read-exact.rs"]
12mod read_exact;
13#[path = "read-to-end.rs"]
14mod read_to_end;
15mod write;
16
17#[doc(inline)]
18pub use self::{read::Read, read_exact::ReadExact, read_to_end::ReadToEnd, write::Write};