pub enum CBORCase {
Unsigned(u64),
Negative(i64),
ByteString(Bytes),
Text(String),
Array(Vec<CBOR>),
Map(Map),
Tagged(Tag, Box<CBOR>),
Simple(Simple),
}Variants§
Unsigned(u64)
Unsigned integer (major type 0).
Negative(i64)
Negative integer (major type 1).
ByteString(Bytes)
Byte string (major type 2).
Text(String)
UTF-8 string (major type 3).
Array(Vec<CBOR>)
Array (major type 4).
Map(Map)
Map (major type 5).
Tagged(Tag, Box<CBOR>)
Tagged value (major type 6).
Simple(Simple)
Simple value (major type 7).
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CBORCase
impl !Send for CBORCase
impl !Sync for CBORCase
impl Unpin for CBORCase
impl UnwindSafe for CBORCase
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