pub enum Algorithm {
None,
Lz4,
Lz4Hc,
Zstd {
level: i32,
},
Adaptive,
}Expand description
Compression algorithm selection.
Variants§
None
No compression (store as-is).
Lz4
LZ4 fast compression.
Lz4Hc
LZ4-HC high compression (not yet implemented).
Zstd
Zstandard with configurable level.
Adaptive
Adaptive selection based on entropy.
Trait Implementations§
impl Copy for Algorithm
impl Eq for Algorithm
impl StructuralPartialEq for Algorithm
Auto Trait Implementations§
impl Freeze for Algorithm
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
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