Enum yazi::CompressionStrategy
source · pub enum CompressionStrategy {
Default,
RLE,
Filtered,
Static,
Huffman,
}
Expand description
Selects between various specialized compressor modes.
Variants§
Default
Let it do its thing.
RLE
Run-length encoding only.
Filtered
Ignore matches fewer than 5 bytes.
Static
Static blocks only.
Huffman
Huffman encoding only.
Trait Implementations§
source§impl Clone for CompressionStrategy
impl Clone for CompressionStrategy
source§fn clone(&self) -> CompressionStrategy
fn clone(&self) -> CompressionStrategy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for CompressionStrategy
Auto Trait Implementations§
impl RefUnwindSafe for CompressionStrategy
impl Send for CompressionStrategy
impl Sync for CompressionStrategy
impl Unpin for CompressionStrategy
impl UnwindSafe for CompressionStrategy
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