#[non_exhaustive]pub enum EncodeStatus {
NeedCommand,
NeedOutput,
Done,
}Expand description
Encoder state after one call.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NeedCommand
The caller may submit another command.
NeedOutput
The caller must provide more output capacity while retaining the command.
Done
The archive is finalized.
Trait Implementations§
Source§impl Clone for EncodeStatus
impl Clone for EncodeStatus
impl Copy for EncodeStatus
Source§impl Debug for EncodeStatus
impl Debug for EncodeStatus
impl Eq for EncodeStatus
Source§impl PartialEq for EncodeStatus
impl PartialEq for EncodeStatus
impl StructuralPartialEq for EncodeStatus
Auto Trait Implementations§
impl Freeze for EncodeStatus
impl RefUnwindSafe for EncodeStatus
impl Send for EncodeStatus
impl Sync for EncodeStatus
impl Unpin for EncodeStatus
impl UnsafeUnpin for EncodeStatus
impl UnwindSafe for EncodeStatus
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