Enum DecoderState
enum DecoderState {
TypeByte,
RemainingLength,
Done,
}Variants§
TypeByte
Waiting for the first byte (type + flags).
RemainingLength
Reading Variable Byte Integer for remaining length.
Done
Done — header fully parsed.
Trait Implementations§
§impl Clone for DecoderState
impl Clone for DecoderState
§fn clone(&self) -> DecoderState
fn clone(&self) -> DecoderState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for DecoderState
impl Debug for DecoderState
§impl PartialEq for DecoderState
impl PartialEq for DecoderState
impl Copy for DecoderState
impl Eq for DecoderState
impl StructuralPartialEq for DecoderState
Auto Trait Implementations§
impl Freeze for DecoderState
impl RefUnwindSafe for DecoderState
impl Send for DecoderState
impl Sync for DecoderState
impl Unpin for DecoderState
impl UnwindSafe for DecoderState
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