pub enum ModeType {
Predefined,
RLE,
FSECompressed,
Repeat,
}
Expand description
The compression mode used for symbol compression
Variants§
Predefined
A predefined FSE distribution table is used, and no distribution table will be present.
RLE
The table consists of a single byte, which contains the symbol’s value.
FSECompressed
Standard FSE compression, a distribution table will be present. This mode should not be used when only one symbol is present.
Repeat
The table used in the previous compressed block with at least one sequence will be used again. If this is the first block, the table in the dictionary will be used.
Auto Trait Implementations§
impl Freeze for ModeType
impl RefUnwindSafe for ModeType
impl Send for ModeType
impl Sync for ModeType
impl Unpin for ModeType
impl UnwindSafe for ModeType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more