pub enum Type {
Show 27 variants
Bool,
Null,
Undefined,
U8,
U16,
U32,
U64,
I8,
I16,
I32,
I64,
Int,
F16,
F32,
F64,
Simple,
Bytes,
BytesIndef,
String,
StringIndef,
Array,
ArrayIndef,
Map,
MapIndef,
Tag,
Break,
Unknown(u8),
}
Expand description
CBOR data types.
Variants§
Bool
Null
Undefined
U8
U16
U32
U64
I8
I16
I32
I64
Int
F16
F32
F64
Simple
Bytes
BytesIndef
String
StringIndef
Array
ArrayIndef
Map
MapIndef
Tag
Break
Unknown(u8)
Trait Implementations§
source§impl Ord for Type
impl Ord for Type
source§impl PartialEq<Type> for Type
impl PartialEq<Type> for Type
source§impl PartialOrd<Type> for Type
impl PartialOrd<Type> for Type
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more