1 | //! Traits [`Future`], [`Stream`], [`AsyncRead`], [`AsyncWrite`], [`AsyncBufRead`], |
2 | //! [`AsyncSeek`], and their extensions. |
3 | //! |
4 | //! # Examples |
5 | //! |
6 | //! ``` |
7 | //! use futures_lite::prelude::*; |
8 | //! ``` |
9 | |
10 | #[doc (no_inline)] |
11 | pub use crate::{ |
12 | future::{Future, FutureExt as _}, |
13 | stream::{Stream, StreamExt as _}, |
14 | }; |
15 | |
16 | #[cfg (feature = "std" )] |
17 | #[doc (no_inline)] |
18 | pub use crate::{ |
19 | io::{AsyncBufRead, AsyncBufReadExt as _}, |
20 | io::{AsyncRead, AsyncReadExt as _}, |
21 | io::{AsyncSeek, AsyncSeekExt as _}, |
22 | io::{AsyncWrite, AsyncWriteExt as _}, |
23 | }; |
24 | |