Module stream

Source
Available on crate feature async only.
Expand description

Asynchronous analogs to the base *Chunker types that wrap Tokio’s AsyncRead types and implement Stream.

Structs§

ByteChunker
The stream::ByteChunker is the async analog to the base ByteChunker type. It wraps an AsyncReader and implements the Stream trait.
CustomChunker
The async analog to the base crate’s CustomChunker. It takes an Adapter and yields chunks based on the Adapter’s transformation.