Crate tokio_util

Source
Expand description

Utilities for working with Tokio.

This crate is not versioned in lockstep with the core tokio crate. However, tokio-util will respect Rust’s semantic versioning policy, especially with regard to breaking changes.

Re-exports§

pub use bytes;

Modules§

codeccodec
Adaptors from AsyncRead/AsyncWrite to Stream/Sink
compatcompat
Compatibility between the tokio::io and futures-io versions of the AsyncRead and AsyncWrite traits.
contextrt
Tokio context aware futures utilities.
either
Module defining an Either type.
ioio
Helpers for IO related tasks.
netnet and codec
TCP/UDP/Unix helpers for tokio.
sync
Synchronization primitives
taskrt
Extra utilities for spawning tasks
timetime
Additional utilities for tracking time.
udpnet and codec
UDP framing