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
sizeparameter given to the Encoder.
Trait Implementations
impl Clone for LzwError
fn clone(&self) -> LzwError
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,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for LzwError
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for LzwError
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for LzwError
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for LzwError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for LzwError
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T> ToString for LzwError
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for LzwError
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for LzwError
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for LzwError
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>