[−][src]Module async_compression::stream
feature="stream"
only.Types which operate over Stream
<Item =
io::Result
<
Bytes
>>
streams, both encoders and
decoders for various formats.
The Stream
is treated as a single byte-stream to be compressed/decompressed, each item is a
chunk of data from this byte-stream. There is not guaranteed to be a one-to-one relationship
between chunks of data from the underlying stream and the resulting compressed/decompressed
stream, the encoders and decoders will buffer the incoming data and choose their own boundaries
at which to yield a new item.
Structs
BrotliDecoder | feature="stream" and feature="brotli" A brotli decoder, or decompressor. |
BrotliEncoder | feature="stream" and feature="brotli" A brotli encoder, or compressor. |
BzDecoder | feature="stream" and feature="bzip" A bzip2 decoder, or decompressor. |
BzEncoder | feature="stream" and feature="bzip" A bzip2 encoder, or compressor. |
DeflateDecoder | feature="stream" and feature="deflate" A deflate decoder, or decompressor. |
DeflateEncoder | feature="stream" and feature="deflate" A deflate encoder, or compressor. |
GzipDecoder | feature="stream" and feature="gzip" A gzip decoder, or decompressor. |
GzipEncoder | feature="stream" and feature="gzip" A gzip encoder, or compressor. |
ZlibDecoder | feature="stream" and feature="zlib" A zlib decoder, or decompressor. |
ZlibEncoder | feature="stream" and feature="zlib" A zlib encoder, or compressor. |
ZstdDecoder | feature="stream" and feature="zstd" A zstd decoder, or decompressor. |
ZstdEncoder | feature="stream" and feature="zstd" A zstd encoder, or compressor. |