[−][src]Module lzzzz::lz4f
LZ4 frame format.
Asynchronous I/O
The tokio-io
feature flag enables asynchronous streaming compressors and decompressors.
lzzzz = { version = "...", features = ["tokio-io"] }
Structs
AsyncBufReadCompressor | feature="tokio-io" The |
AsyncBufReadDecompressor | feature="tokio-io" The |
AsyncReadCompressor | feature="tokio-io" The |
AsyncReadDecompressor | feature="tokio-io" The |
AsyncWriteCompressor | feature="tokio-io" The |
AsyncWriteDecompressor | feature="tokio-io" The |
BufReadCompressor | The |
BufReadDecompressor | The |
Dictionary | A pre-compiled dictionary for the efficient compression. |
FrameInfo | LZ4 Frame parameters. |
Preferences | Compression preferences. |
PreferencesBuilder | Builds a custom |
ReadCompressor | The |
ReadDecompressor | The |
WriteCompressor | The |
WriteDecompressor | The |
Enums
AutoFlush | Auto flush mode flag. |
BlockChecksum | Block checksum flag. |
BlockMode | Block mode flag. |
BlockSize | Block size flag. |
ContentChecksum | Content checksum flag. |
Error | The error type for LZ4F operations. |
ErrorKind | A list specifying general categories of LZ4F error. |
FavorDecSpeed | Decompression speed mode flag. |
FrameType | Frame type flag. |
Constants
CLEVEL_DEFAULT | Predefined compression level (0). |
CLEVEL_HIGH | Predefined compression level (10). |
CLEVEL_MAX | Predefined compression level (12). |
Functions
compress | Performs LZ4F compression. |
compress_to_vec | Appends a compressed frame to Vec |
decompress_to_vec | Decompresses a LZ4 frame. |
max_compressed_size | Calculates the maximum size of the compressed frame. |
Type Definitions
Result | A specialized |