pub enum DecoderStatus {
NeedsInput,
NeedsOutput,
Finished,
}Expand description
Why an incremental call stopped.
Handle the counts in DecodeProgress before acting on the status.
Variants§
NeedsInput
All offered input was consumed and more is needed.
NeedsOutput
Decoded output is waiting for output space.
Finished
The operation is complete: every frame was decoded and validated, and all output delivered.
Trait Implementations§
Source§impl Clone for DecoderStatus
impl Clone for DecoderStatus
impl Copy for DecoderStatus
Source§impl Debug for DecoderStatus
impl Debug for DecoderStatus
impl Eq for DecoderStatus
Source§impl PartialEq for DecoderStatus
impl PartialEq for DecoderStatus
impl StructuralPartialEq for DecoderStatus
Auto Trait Implementations§
impl Freeze for DecoderStatus
impl RefUnwindSafe for DecoderStatus
impl Send for DecoderStatus
impl Sync for DecoderStatus
impl Unpin for DecoderStatus
impl UnsafeUnpin for DecoderStatus
impl UnwindSafe for DecoderStatus
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