| copy_to_bytes.rs |
|
2076 |
- |
| inspect.rs |
|
5127 |
- |
| mod.rs |
Helpers for IO related tasks.
The stream types are often used in combination with hyper or reqwest, as they
allow converting between a hyper [`Body`] and [`AsyncRead`].
The [`SyncIoBridge`] type converts from the world of async I/O
to synchronous I/O; this may often come up when using synchronous APIs
inside [`tokio::task::spawn_blocking`].
[`Body`]: https://docs.rs/hyper/0.13/hyper/struct.Body.html
[`AsyncRead`]: tokio::io::AsyncRead |
1060 |
- |
| read_arc.rs |
|
1813 |
- |
| read_buf.rs |
|
1659 |
- |
| reader_stream.rs |
|
3780 |
- |
| simplex.rs |
Unidirectional byte-oriented channel. |
9919 |
- |
| sink_writer.rs |
|
4284 |
- |
| stream_reader.rs |
|
10936 |
- |
| sync_bridge.rs |
|
15681 |
- |