Enum minicbor::data::Type [−][src]
pub enum Type {
Show 26 variants
Bool,
Null,
Undefined,
U8,
U16,
U32,
U64,
I8,
I16,
I32,
I64,
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
F16
F32
F64
Simple
Bytes
BytesIndef
String
StringIndef
Array
ArrayIndef
Map
MapIndef
Tag
Break
Unknown(u8)
Tuple Fields
0: u8
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more