pub enum Status {
NeedsInput,
NeedsOutput,
Finished,
}Expand description
What a push encoder or decoder needs next.
Variants§
NeedsInput
All input was consumed and all output delivered; pass more input.
NeedsOutput
The output buffer is full and more output is pending; call again with more room.
Finished
A frame ended and all of its output was delivered.
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Forget for Status
impl Freeze for Status
impl Move for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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