#[non_exhaustive]pub enum DecompressBlockError {
BlockContentReadError(Error),
MalformedSectionHeader {
expected_len: usize,
remaining_bytes: usize,
},
DecompressLiteralsError(DecompressLiteralsError),
LiteralsSectionParseError(LiteralsSectionParseError),
SequencesHeaderParseError(SequencesHeaderParseError),
DecodeSequenceError(DecodeSequenceError),
ExecuteSequencesError(ExecuteSequencesError),
}
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.
BlockContentReadError(Error)
MalformedSectionHeader
DecompressLiteralsError(DecompressLiteralsError)
LiteralsSectionParseError(LiteralsSectionParseError)
SequencesHeaderParseError(SequencesHeaderParseError)
DecodeSequenceError(DecodeSequenceError)
ExecuteSequencesError(ExecuteSequencesError)
Trait Implementations§
source§impl Debug for DecompressBlockError
impl Debug for DecompressBlockError
source§impl Display for DecompressBlockError
impl Display for DecompressBlockError
source§impl Error for DecompressBlockError
impl Error for DecompressBlockError
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<DecompressBlockError> for DecodeBlockContentError
impl From<DecompressBlockError> for DecodeBlockContentError
source§fn from(original: DecompressBlockError) -> DecodeBlockContentError
fn from(original: DecompressBlockError) -> DecodeBlockContentError
Converts to this type from the input type.
source§impl From<DecompressLiteralsError> for DecompressBlockError
impl From<DecompressLiteralsError> for DecompressBlockError
source§fn from(original: DecompressLiteralsError) -> DecompressBlockError
fn from(original: DecompressLiteralsError) -> DecompressBlockError
Converts to this type from the input type.
source§impl From<Error> for DecompressBlockError
impl From<Error> for DecompressBlockError
source§fn from(original: Error) -> DecompressBlockError
fn from(original: Error) -> DecompressBlockError
Converts to this type from the input type.
source§impl From<ExecuteSequencesError> for DecompressBlockError
impl From<ExecuteSequencesError> for DecompressBlockError
source§fn from(original: ExecuteSequencesError) -> DecompressBlockError
fn from(original: ExecuteSequencesError) -> DecompressBlockError
Converts to this type from the input type.
source§impl From<LiteralsSectionParseError> for DecompressBlockError
impl From<LiteralsSectionParseError> for DecompressBlockError
source§fn from(original: LiteralsSectionParseError) -> DecompressBlockError
fn from(original: LiteralsSectionParseError) -> DecompressBlockError
Converts to this type from the input type.
source§impl From<SequencesHeaderParseError> for DecompressBlockError
impl From<SequencesHeaderParseError> for DecompressBlockError
source§fn from(original: SequencesHeaderParseError) -> DecompressBlockError
fn from(original: SequencesHeaderParseError) -> DecompressBlockError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DecompressBlockError
impl Send for DecompressBlockError
impl Sync for DecompressBlockError
impl Unpin for DecompressBlockError
impl !UnwindSafe for DecompressBlockError
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