Struct DecompressError

pub struct DecompressError(/* private field */);

Error returned when a decompression object finds that the input stream of bytes was not a valid input stream of bytes.

Implementations

impl DecompressError

fn needs_dictionary(&self) -> Option<u32>

Indicates whether decompression failed due to requiring a dictionary.

The resulting integer is the Adler-32 checksum of the dictionary required.

impl DecompressError

fn message(&self) -> Option<&str>

Retrieve the implementation's message about why the operation failed, if one exists.

Trait Implementations

impl Clone for DecompressError

fn clone(&self) -> Self

impl Debug for DecompressError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for DecompressError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Error for DecompressError

Auto Trait Implementations

impl Freeze for DecompressError

impl RefUnwindSafe for DecompressError

impl Send for DecompressError

impl Sync for DecompressError

impl Unpin for DecompressError

impl UnsafeUnpin for DecompressError

impl UnwindSafe for DecompressError

Blanket Implementations

impl<T> Any for DecompressError where T: 'static + ?Sized,

impl<T> Borrow<T> for DecompressError where T: ?Sized,

impl<T> BorrowMut<T> for DecompressError where T: ?Sized,

impl<T> CloneToUninit for DecompressError where T: Clone,

impl<T> From<T> for DecompressError

impl<T> ToOwned for DecompressError where T: Clone,

impl<T> ToString for DecompressError where T: Display + ?Sized,

impl<T, U> Into<U> for DecompressError where U: From<T>,

impl<T, U> TryFrom<U> for DecompressError where U: Into<T>,

impl<T, U> TryInto<U> for DecompressError where U: TryFrom<T>,