Enum LzwStatus
pub enum LzwStatus
The status after successful coding of an LZW stream.
Variants
-
Ok Everything went well.
-
NoProgress No bytes were read or written and no internal state advanced.
If this is returned but your application can not provide more input data then decoding is definitely stuck for good and it should stop trying and report some error of its own. In other situations this may be used as a signal to refill an internal buffer.
-
Done No more data will be produced because an end marker was reached.
Trait Implementations
impl Clone for LzwStatus
fn clone(&self) -> LzwStatus
impl Copy for LzwStatus
impl Debug for LzwStatus
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Auto Trait Implementations
impl Freeze for LzwStatus
impl RefUnwindSafe for LzwStatus
impl Send for LzwStatus
impl Sync for LzwStatus
impl Unpin for LzwStatus
impl UnsafeUnpin for LzwStatus
impl UnwindSafe for LzwStatus
Blanket Implementations
impl<T> Any for LzwStatus
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for LzwStatus
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for LzwStatus
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for LzwStatus
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for LzwStatus
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for LzwStatus
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for LzwStatus
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 LzwStatus
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for LzwStatus
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>