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§
- codec
codec
Adaptors fromAsyncRead
/AsyncWrite
to Stream/Sink - compat
compat
Compatibility between thetokio::io
andfutures-io
versions of theAsyncRead
andAsyncWrite
traits. - context
rt
Tokio context aware futures utilities. - Module defining an Either type.
- io
io
Helpers for IO related tasks. - net
net
andcodec
TCP/UDP/Unix helpers for tokio. - Synchronization primitives
- task
rt
Extra utilities for spawning tasks - time
time
Additional utilities for tracking time. - udp
net
andcodec
UDP framing