enum HeaderDecoderState {
Magic,
BlockCount,
BlockLen,
KeyLen,
Key,
ValueLen,
Value,
Sync,
Finished,
}
Variants§
Magic
Decoding the MAGIC
prefix
BlockCount
Decoding a block count
BlockLen
Decoding a block byte length
KeyLen
Decoding a key length
Key
Decoding a key string
ValueLen
Decoding a value length
Value
Decoding a value payload
Sync
Decoding sync marker
Finished
Finished decoding
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HeaderDecoderState
impl RefUnwindSafe for HeaderDecoderState
impl Send for HeaderDecoderState
impl Sync for HeaderDecoderState
impl Unpin for HeaderDecoderState
impl UnwindSafe for HeaderDecoderState
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