2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-31 09:45:36 +00:00
async-std/src/prelude.rs

19 lines
439 B
Rust
Raw Normal View History

2019-08-08 12:44:48 +00:00
//! The async prelude.
//!
2019-08-15 17:26:10 +00:00
//! The prelude re-exports the most commonly used traits in this crate.
2019-08-08 12:44:48 +00:00
#[doc(no_inline)]
2019-08-12 10:43:44 +00:00
pub use crate::future::Future;
2019-08-08 12:44:48 +00:00
#[doc(no_inline)]
2019-08-12 10:43:44 +00:00
pub use crate::io::BufRead as _;
2019-08-08 12:44:48 +00:00
#[doc(no_inline)]
2019-08-12 10:43:44 +00:00
pub use crate::io::Read as _;
2019-08-08 12:44:48 +00:00
#[doc(no_inline)]
2019-08-12 10:43:44 +00:00
pub use crate::io::Seek as _;
2019-08-08 12:44:48 +00:00
#[doc(no_inline)]
2019-08-12 10:43:44 +00:00
pub use crate::io::Write as _;
2019-08-08 12:44:48 +00:00
#[doc(no_inline)]
2019-08-12 10:43:44 +00:00
pub use crate::stream::Stream;
2019-08-08 12:44:48 +00:00
#[doc(no_inline)]
2019-08-14 01:47:39 +00:00
pub use crate::task_local;