Enum stream_zipper::deflate::State[][src]

pub enum State<'i, 'o> {
    HasOutput {
        unparsed_input: &'i [u8],
        output: &'o [u8],
    },
    NeedsInput {
        unparsed_input: &'i [u8],
    },
    Stop {
        unparsed_input: &'i [u8],
    },
}

Variants

HasOutput

Fields of HasOutput

unparsed_input: &'i [u8]output: &'o [u8]
NeedsInput

Fields of NeedsInput

unparsed_input: &'i [u8]
Stop

Fields of Stop

unparsed_input: &'i [u8]

Trait Implementations

impl<'i, 'o> Clone for State<'i, 'o>[src]

impl<'i, 'o> Copy for State<'i, 'o>[src]

impl<'i, 'o> Debug for State<'i, 'o>[src]

impl<'i, 'o> Eq for State<'i, 'o>[src]

impl<'i, 'o> PartialEq<State<'i, 'o>> for State<'i, 'o>[src]

impl<'i, 'o> StructuralEq for State<'i, 'o>[src]

impl<'i, 'o> StructuralPartialEq for State<'i, 'o>[src]

Auto Trait Implementations

impl<'i, 'o> RefUnwindSafe for State<'i, 'o>

impl<'i, 'o> Send for State<'i, 'o>

impl<'i, 'o> Sync for State<'i, 'o>

impl<'i, 'o> Unpin for State<'i, 'o>

impl<'i, 'o> UnwindSafe for State<'i, 'o>

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.