Enum libdeflater::DecompressionError [−][src]
pub enum DecompressionError {
BadData,
InsufficientSpace,
}Expand description
An error that may be returned by one of the
Decompressor’s decompress_*
methods when a decompression cannot be performed.
Variants
The provided data is invalid in some way. For example, the checksum in the data revealed possible corruption, magic numbers in the data do not match expectations, etc.
The provided output buffer is not large enough to accomodate the decompressed data.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DecompressionErrorimpl Send for DecompressionErrorimpl Sync for DecompressionErrorimpl Unpin for DecompressionErrorimpl UnwindSafe for DecompressionError