pub enum ValueHeader {
Null,
Indirection(usize),
Value {
slot: usize,
ids: Vec<String>,
chunked: bool,
},
}Expand description
What Decoder::read_value_header found where a value was expected.
Variants§
Null
A null value.
Indirection(usize)
A value read earlier in the stream, by its slot.
Value
A new value, whose state follows. The caller reads the state and
then calls Decoder::end_value.
Trait Implementations§
Source§impl Clone for ValueHeader
impl Clone for ValueHeader
Source§impl Debug for ValueHeader
impl Debug for ValueHeader
impl Eq for ValueHeader
Source§impl PartialEq for ValueHeader
impl PartialEq for ValueHeader
impl StructuralPartialEq for ValueHeader
Auto Trait Implementations§
impl Forget for ValueHeader
impl Freeze for ValueHeader
impl RefUnwindSafe for ValueHeader
impl Send for ValueHeader
impl Sync for ValueHeader
impl Unpin for ValueHeader
impl UnsafeUnpin for ValueHeader
impl UnwindSafe for ValueHeader
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