2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-26 10:16:49 +00:00
async-std/src/io/prelude.rs
Yoshua Wuyts 0bc39e6e6c
add io::cursor
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-13 19:58:18 +02:00

18 lines
420 B
Rust

//! The async I/O Prelude
//!
//! The purpose of this module is to alleviate imports of many common I/O traits
//! by adding a glob import to the top of I/O heavy modules:
//!
//! ```
//! # #![allow(unused_imports)]
//! use async_std::io::prelude::*;
//! ```
#[doc(no_inline)]
pub use super::BufRead;
#[doc(no_inline)]
pub use super::Read;
#[doc(no_inline)]
pub use super::Seek;
#[doc(no_inline)]
pub use super::Write;