tokio: add async io traits to prelude (#1378)

This commit is contained in:
Carl Lerche
2019-08-02 12:50:40 -07:00
committed by GitHub
parent 5a4f849bba
commit ee9105d166
+5 -2
View File
@@ -12,6 +12,9 @@
pub use crate::util::FutureExt;
pub use std::future::Future;
pub use std::task::{self, Poll};
#[cfg(feature = "io")]
pub use tokio_io::{AsyncRead, AsyncWrite};
pub use tokio_io::{
AsyncBufRead, AsyncBufReadExt as _, AsyncRead, AsyncReadExt as _, AsyncWrite,
AsyncWriteExt as _,
};