pub enum LenType {
Bin,
Str,
Arr,
Map,
Ext(i8),
}
Expand description
MessagePack Rust length markers come in these varieties
Variants§
Bin
Indicates the length of bytes following represent binary data
Str
Indicates the length of bytes following represent utf8 string data
Arr
Indicates an array of length count message pack objects
Map
Indicates a map of length count message pack key value pairs
Ext(i8)
Indicates the length of bytes following represent msgpack ext data
Trait Implementations§
impl Copy for LenType
impl StructuralPartialEq for LenType
Auto Trait Implementations§
impl Freeze for LenType
impl RefUnwindSafe for LenType
impl Send for LenType
impl Sync for LenType
impl Unpin for LenType
impl UnwindSafe for LenType
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