#[repr(C)]pub enum Compress {
None = 0,
Zstd = 1,
Auto = 2,
}Expand description
Compression mode for entries.
Variants§
None = 0
No compression.
Zstd = 1
Zstandard compression.
Auto = 2
Automatically compress if entry is larger than 2KB threshold. Note: This is never stored on disk, only used as a policy hint.
Trait Implementations§
Source§impl Ord for Compress
impl Ord for Compress
Source§impl PartialOrd for Compress
impl PartialOrd for Compress
impl Copy for Compress
impl Eq for Compress
impl StructuralPartialEq for Compress
Auto Trait Implementations§
impl Freeze for Compress
impl RefUnwindSafe for Compress
impl Send for Compress
impl Sync for Compress
impl Unpin for Compress
impl UnwindSafe for Compress
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