pub enum WriteState {
NeedsRead,
Written(usize),
}
Expand description
State returned by Decoder::write
Variants§
NeedsRead
Enough data has already been written to Decoder
in order for it to be able to decode the next block.
Now call Decoder::read
to read the decompressed data.
Written(usize)
N. number of bytes have been written.
Auto Trait Implementations§
impl Freeze for WriteState
impl RefUnwindSafe for WriteState
impl Send for WriteState
impl Sync for WriteState
impl Unpin for WriteState
impl UnwindSafe for WriteState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more