#[non_exhaustive]pub enum DecodeSequenceError {
GetBitsError(GetBitsError),
FSEDecoderError(FSEDecoderError),
FSETableError(FSETableError),
ExtraPadding {
skipped_bits: i32,
},
UnsupportedOffset {
offset_code: u8,
},
ZeroOffset,
NotEnoughBytesForNumSequences,
ExtraBits {
bits_remaining: isize,
},
MissingCompressionMode,
MissingByteForRleLlTable,
MissingByteForRleOfTable,
MissingByteForRleMlTable,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GetBitsError(GetBitsError)
FSEDecoderError(FSEDecoderError)
FSETableError(FSETableError)
ExtraPadding
UnsupportedOffset
ZeroOffset
NotEnoughBytesForNumSequences
ExtraBits
MissingCompressionMode
MissingByteForRleLlTable
MissingByteForRleOfTable
MissingByteForRleMlTable
Trait Implementations§
source§impl Debug for DecodeSequenceError
impl Debug for DecodeSequenceError
source§impl Display for DecodeSequenceError
impl Display for DecodeSequenceError
source§impl Error for DecodeSequenceError
impl Error for DecodeSequenceError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<DecodeSequenceError> for DecompressBlockError
impl From<DecodeSequenceError> for DecompressBlockError
source§fn from(original: DecodeSequenceError) -> DecompressBlockError
fn from(original: DecodeSequenceError) -> DecompressBlockError
Converts to this type from the input type.
source§impl From<FSEDecoderError> for DecodeSequenceError
impl From<FSEDecoderError> for DecodeSequenceError
source§fn from(original: FSEDecoderError) -> DecodeSequenceError
fn from(original: FSEDecoderError) -> DecodeSequenceError
Converts to this type from the input type.
source§impl From<FSETableError> for DecodeSequenceError
impl From<FSETableError> for DecodeSequenceError
source§fn from(original: FSETableError) -> DecodeSequenceError
fn from(original: FSETableError) -> DecodeSequenceError
Converts to this type from the input type.
source§impl From<GetBitsError> for DecodeSequenceError
impl From<GetBitsError> for DecodeSequenceError
source§fn from(original: GetBitsError) -> DecodeSequenceError
fn from(original: GetBitsError) -> DecodeSequenceError
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DecodeSequenceError
impl Send for DecodeSequenceError
impl Sync for DecodeSequenceError
impl Unpin for DecodeSequenceError
impl UnwindSafe for DecodeSequenceError
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