#[repr(u8)]pub enum Algorithm {
Remove = 0,
Chars = 1,
Tokens = 2,
GDelta = 3,
RepeatChars = 4,
RepeatTokens = 5,
GDeltaZstd = 6,
CharsZstd = 7,
}Expand description
Available compression algorithms for delta encoding.
Variants§
Remove = 0
Simple byte range removal
Chars = 1
Character-by-character insertion (Chars)
Tokens = 2
Token-based compression for text (Tokens)
GDelta = 3
General-purpose delta compression (GDelta)
RepeatChars = 4
Repetitive character pattern insertion (RepeatChars)
RepeatTokens = 5
Repetitive token pattern insertion (RepeatTokens)
GDeltaZstd = 6
General-purpose delta compression with zstd (GDeltaZstd)
CharsZstd = 7
Character insertion with zstd compression (CharsZstd)
Trait Implementations§
Source§impl TryFromPrimitive for Algorithm
impl TryFromPrimitive for Algorithm
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