Enum bzip2_rs::decoder::ReadState[][src]

pub enum ReadState {
    NeedsWrite(usize),
    Read(usize),
    Eof,
}

State returned by Decoder::read

Variants

NeedsWrite(usize)

Not enough data has been written to the underlying Decoder in order to allow the next block to be decoded. Call Decoder::write to write more data. If the end of the file has been reached, call Decoder::write with an empty buffer.

Read(usize)

N. number of data has been read

Eof

The end of the compressed file has been reached and there is no more data to read

Auto Trait Implementations

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.