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;
|