Enum stream_zipper::State[][src]

pub enum State<'i, 's, File> where
    'i: 's, 
{ NeedsInputOrEof(GZipFile), NeedsInput, HasOutput { unparsed_input: &'i [u8], output: &'s [u8], }, NextFile { unparsed_input: &'i [u8], next_file: File, }, EndOfFile, }

Represents a state of a compressed input stream. Generic over the actual stream type (gzip or zip).

Variants

NeedsInputOrEof(GZipFile)
NeedsInput
HasOutput

Fields of HasOutput

unparsed_input: &'i [u8]output: &'s [u8]
NextFile

Fields of NextFile

unparsed_input: &'i [u8]next_file: File
EndOfFile

Implementations

impl<'i, 's, F> State<'i, 's, F>[src]

pub fn assert_no_output(self) -> State<'i, 'i, F>[src]

Trait Implementations

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

impl<'i, 's> From<State<'i, 's, GZipFile>> for State<'i, 's, File>[src]

impl<'i, 's> From<State<'i, 's, ZipFile>> for State<'i, 's, File>[src]

Auto Trait Implementations

impl<'i, 's, File> RefUnwindSafe for State<'i, 's, File> where
    File: RefUnwindSafe

impl<'i, 's, File> Send for State<'i, 's, File> where
    File: Send

impl<'i, 's, File> Sync for State<'i, 's, File> where
    File: Sync

impl<'i, 's, File> Unpin for State<'i, 's, File> where
    File: Unpin

impl<'i, 's, File> UnwindSafe for State<'i, 's, File> where
    File: UnwindSafe

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.