[][src]Enum lzw::Bits

[]
pub enum Bits {
    Some(usizeu16),
    None(usize),
}
[]

Containes either the consumed bytes and reconstructed bits or only the consumed bytes if the supplied buffer was not bit enough

Variants

Some(usizeu16)
[]

Consumed bytes, reconstructed bits

None(usize)
[]

Consumed bytes

Auto Trait Implementations

impl RefUnwindSafe for Bits

impl Send for Bits

impl Sync for Bits

impl Unpin for Bits

impl UnwindSafe for Bits

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.