Crate fuel_compression

Source
Expand description

Compression and decompression of fuel-types for the DA layer

Structs§

RegistryKey
Untyped key pointing to a registry table entry. The last key (all bits set) is reserved for the default value and cannot be written to.

Traits§

Compressible
This type can be compressed to a more compact form and back using CompressibleBy and DecompressibleBy traits.
CompressibleBy
This type can be compressed to a more compact form and back using CompressionContext.
ContextError
Defines the error type for the context used in compression and decompression.
Decompress
The trait allows for decompression of a compressed type. This trait is syntax sugar for DecompressibleBy with the compressed type as the receiver.
DecompressibleBy
This type can be decompressed using CompressionContext.

Derive Macros§

Compress
Derives Compressible and CompressibleBy traits for the given struct or enum.
Decompress
Derives DecompressibleBy trait for the given struct or enum.