util: add a poll_read_buf shim to tokio-util (#2972)

This commit is contained in:
John-John Tedro
2020-10-19 11:06:06 +02:00
committed by GitHub
parent 423ecc187a
commit 8d17261a4b
3 changed files with 141 additions and 0 deletions
+4
View File
@@ -6,8 +6,12 @@
//! [`Body`]: https://docs.rs/hyper/0.13/hyper/struct.Body.html
//! [`AsyncRead`]: tokio::io::AsyncRead
mod poll_read_buf;
mod read_buf;
mod reader_stream;
mod stream_reader;
pub use self::poll_read_buf::poll_read_buf;
pub use self::read_buf::read_buf;
pub use self::reader_stream::ReaderStream;
pub use self::stream_reader::StreamReader;