pub enum KvpValue {
Varint(VarInt),
Bytes(Vec<u8>),
}Expand description
Value of a Key-Value Pair. Even key type -> varint value (no length field). Odd key type -> length-prefixed bytes.
Variants§
Trait Implementations§
impl Eq for KvpValue
impl StructuralPartialEq for KvpValue
Auto Trait Implementations§
impl Freeze for KvpValue
impl RefUnwindSafe for KvpValue
impl Send for KvpValue
impl Sync for KvpValue
impl Unpin for KvpValue
impl UnsafeUnpin for KvpValue
impl UnwindSafe for KvpValue
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