pub enum CompactionDecodeStep {
Done,
Continue,
Corrupt,
}Expand description
Whether a compaction batch-stream decode is complete, made progress, or encountered corrupt input.
Variants§
Done
The input is exhausted. This is the only successful completion state.
Continue
One batch decoded and consumed at least one byte.
Corrupt
Nonempty input did not decode with strict progress.
Trait Implementations§
Source§impl Clone for CompactionDecodeStep
impl Clone for CompactionDecodeStep
Source§fn clone(&self) -> CompactionDecodeStep
fn clone(&self) -> CompactionDecodeStep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompactionDecodeStep
Source§impl Debug for CompactionDecodeStep
impl Debug for CompactionDecodeStep
impl Eq for CompactionDecodeStep
Source§impl PartialEq for CompactionDecodeStep
impl PartialEq for CompactionDecodeStep
impl StructuralPartialEq for CompactionDecodeStep
Auto Trait Implementations§
impl Freeze for CompactionDecodeStep
impl RefUnwindSafe for CompactionDecodeStep
impl Send for CompactionDecodeStep
impl Sync for CompactionDecodeStep
impl Unpin for CompactionDecodeStep
impl UnsafeUnpin for CompactionDecodeStep
impl UnwindSafe for CompactionDecodeStep
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