mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +02:00
tokio: add async io traits to prelude (#1378)
This commit is contained in:
@@ -12,6 +12,9 @@
|
|||||||
|
|
||||||
pub use crate::util::FutureExt;
|
pub use crate::util::FutureExt;
|
||||||
pub use std::future::Future;
|
pub use std::future::Future;
|
||||||
pub use std::task::{self, Poll};
|
|
||||||
#[cfg(feature = "io")]
|
#[cfg(feature = "io")]
|
||||||
pub use tokio_io::{AsyncRead, AsyncWrite};
|
pub use tokio_io::{
|
||||||
|
AsyncBufRead, AsyncBufReadExt as _, AsyncRead, AsyncReadExt as _, AsyncWrite,
|
||||||
|
AsyncWriteExt as _,
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user