Struct DecompressError

struct DecompressError { ... }

Struct return when decompress_to_vec functions fail.

Fields

status: TINFLStatus

Decompressor status on failure. See [TINFLStatus] for details.

output: Vec<u8>

The currently decompressed data if any.

Implementations

impl Debug for DecompressError

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

impl Display for DecompressError

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

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

impl<T> Any for DecompressError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for DecompressError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for DecompressError

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for DecompressError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for DecompressError

fn to_string(self: &Self) -> String

impl<T, U> Into for DecompressError

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for DecompressError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for DecompressError

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>