[][src]Enum libdeflater::DecompressionError

pub enum DecompressionError {
    BadData,
    InsufficientSpace,
}

An error that may be returned by one of the Decompressor's decompress_* methods when a decompression cannot be performed.

Variants

BadData

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.

InsufficientSpace

The provided output buffer is not large enough to accomodate the decompressed data.

Trait Implementations

impl Debug for DecompressionError[src]

impl PartialEq<DecompressionError> for DecompressionError[src]

impl StructuralPartialEq for DecompressionError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.