Enum lz4_flex::block::DecompressError [−][src]
#[non_exhaustive]
pub enum DecompressError {
OutputTooSmall {
expected: usize,
actual: usize,
},
UncompressedSizeDiffers {
expected: usize,
actual: usize,
},
LiteralOutOfBounds,
ExpectedAnotherByte,
OffsetOutOfBounds,
}
Expand description
An error representing invalid compressed data.
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.
Literal is out of bounds of the input
Expected another byte, but none found.
Deduplication offset out of bounds (not in buffer).