Enum LzwError

pub enum LzwError

The error kind after unsuccessful coding of an LZW stream.

Variants

InvalidCode

The input contained an invalid code.

For decompression this refers to a code larger than those currently known through the prior decoding stages. For compression this refers to a byte that has no code representation due to being larger than permitted by the size parameter given to the Encoder.

Trait Implementations

impl Clone for LzwError

fn clone(&self) -> Self

impl Copy for LzwError

impl Debug for LzwError

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

impl Display for LzwError

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

impl Error for LzwError

Auto Trait Implementations

impl Freeze for LzwError

impl RefUnwindSafe for LzwError

impl Send for LzwError

impl Sync for LzwError

impl Unpin for LzwError

impl UnsafeUnpin for LzwError

impl UnwindSafe for LzwError

Blanket Implementations

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

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

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

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

impl<T> From<T> for LzwError

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

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

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

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

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