pub trait Format {
type HeaderMode: HeaderMode;
}
Expand description
Trait that represents a format to be utilized for compression
This trait is referenced entirely via associated functions at compile time and gets entirely monomorphized out. It solely exists to reference associated functions on the control types. It should not be implemented on structs that are intended to be constructed, and should generally only be implemented on unconstructable ZST structs or empty enums.
Required Associated Types§
Sourcetype HeaderMode: HeaderMode
type HeaderMode: HeaderMode
The header read/write mode to be used for compression and decompression.
HeaderMode is an alias of the mode in the header module.