pub enum CodecCorrection {
Show 18 variants
TokenCount,
BlockTypeCorrection,
LenCorrection,
DistOnlyCorrection,
DistAfterLenCorrection,
TreeCodeBitLengthCorrection,
LDTypeCorrection,
RepeatCountCorrection,
LDBitLengthCorrection,
TreeCodeCountCorrection,
LiteralCountCorrection,
DistanceCountCorrection,
UncompressBlockLenCorrection,
Last,
EndOfChunk,
LiteralPredictionWrong,
ReferencePredictionWrong,
MAX,
}Expand description
correction indictions, which are followed by a 16 bit value
Variants§
TokenCount
BlockTypeCorrection
LenCorrection
DistOnlyCorrection
DistAfterLenCorrection
TreeCodeBitLengthCorrection
LDTypeCorrection
RepeatCountCorrection
LDBitLengthCorrection
TreeCodeCountCorrection
LiteralCountCorrection
DistanceCountCorrection
UncompressBlockLenCorrection
Last
EndOfChunk
LiteralPredictionWrong
ReferencePredictionWrong
MAX
Trait Implementations§
Source§impl Clone for CodecCorrection
impl Clone for CodecCorrection
Source§fn clone(&self) -> CodecCorrection
fn clone(&self) -> CodecCorrection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CodecCorrection
Source§impl Debug for CodecCorrection
impl Debug for CodecCorrection
impl Eq for CodecCorrection
Source§impl PartialEq for CodecCorrection
impl PartialEq for CodecCorrection
impl StructuralPartialEq for CodecCorrection
Auto Trait Implementations§
impl Freeze for CodecCorrection
impl RefUnwindSafe for CodecCorrection
impl Send for CodecCorrection
impl Sync for CodecCorrection
impl Unpin for CodecCorrection
impl UnsafeUnpin for CodecCorrection
impl UnwindSafe for CodecCorrection
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