#[non_exhaustive]pub enum StepState {
NeedInput,
NeedOutput,
Done,
}Available on crate feature
caller-workspace only.Expand description
Why a WorkspaceDecoder::step returned.
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.
NeedInput
Every input byte was consumed; call again with more, or with the final-input flag set once there is no more.
NeedOutput
The output slice is full; call again with room.
Done
The input was final and every frame in it is decoded and delivered.
Trait Implementations§
impl Copy for StepState
impl Eq for StepState
impl StructuralPartialEq for StepState
Auto Trait Implementations§
impl Freeze for StepState
impl RefUnwindSafe for StepState
impl Send for StepState
impl Sync for StepState
impl Unpin for StepState
impl UnsafeUnpin for StepState
impl UnwindSafe for StepState
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