pub enum Kind {
Nil,
Bool,
Int,
Float,
Str,
Bin,
Array,
Map,
Ext,
}Expand description
The msgpack type of the next value, for decoding unions.
Variants§
Nil
nil
Bool
true / false
Int
Any integer format.
Float
float32 or float64.
Str
A string.
Bin
A binary value.
Array
An array.
Map
A map.
Ext
An extension value.
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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