Enum bzip2_rs::decoder::ReadState [−][src]
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
The end of the compressed file has been reached and there is no more data to read
Auto Trait Implementations
impl RefUnwindSafe for ReadState
[src]
impl Send for ReadState
[src]
impl Sync for ReadState
[src]
impl Unpin for ReadState
[src]
impl UnwindSafe for ReadState
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,