Module building_blocks_storage::compression[][src]

Structs

BincodeCompression

Run some compression algorithm A after bincode serializing a type T. This provides a decent default compression for any serializable type.

Compressed

A value compressed with compression algorithm A.

Lz4

The LZ4 compression algorithm.

Snappy

The Snappy compression algorithm. Uses a pure Rust implementation, making it suitable for use with the WASM target.

Enums

MaybeCompressed

A value that is either compressed or decompressed.

Traits

BytesCompression

A compression algorithm that acts directly on a slice of bytes.

Compression

An algorithm for: 1. compressing a specific type Data into type Compressed 2. decompressing Compressed back into Data

FromBytesCompression