Module tokio_util::io

source ·
Expand description

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.

Structs

Functions