#[non_exhaustive]#[repr(u64)]pub enum IanaTag {
Show 41 variants
DateTime = 0,
Timestamp = 1,
PosBignum = 2,
NegBignum = 3,
Decimal = 4,
Bigfloat = 5,
ToBase64Url = 21,
ToBase64 = 22,
ToBase16 = 23,
Cbor = 24,
Uri = 32,
Base64Url = 33,
Base64 = 34,
Regex = 35,
Mime = 36,
MultiDimArrayR = 40,
HomogenousArray = 41,
TypedArrayU8 = 64,
TypedArrayU16B = 65,
TypedArrayU32B = 66,
TypedArrayU64B = 67,
TypedArrayU8Clamped = 68,
TypedArrayU16L = 69,
TypedArrayU32L = 70,
TypedArrayU64L = 71,
TypedArrayI8 = 72,
TypedArrayI16B = 73,
TypedArrayI32B = 74,
TypedArrayI64B = 75,
TypedArrayI16L = 77,
TypedArrayI32L = 78,
TypedArrayI64L = 79,
TypedArrayF16B = 80,
TypedArrayF32B = 81,
TypedArrayF64B = 82,
TypedArrayF128B = 83,
TypedArrayF16L = 84,
TypedArrayF32L = 85,
TypedArrayF64L = 86,
TypedArrayF128L = 87,
MultiDimArrayC = 1_040,
}Expand description
IANA registered tags.
See https://www.iana.org/assignments/cbor-tags/cbor-tags.xhtml for details.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DateTime = 0
Timestamp = 1
PosBignum = 2
NegBignum = 3
Decimal = 4
Bigfloat = 5
ToBase64Url = 21
ToBase64 = 22
ToBase16 = 23
Cbor = 24
Uri = 32
Base64Url = 33
Base64 = 34
Regex = 35
Mime = 36
MultiDimArrayR = 40
HomogenousArray = 41
TypedArrayU8 = 64
TypedArrayU16B = 65
TypedArrayU32B = 66
TypedArrayU64B = 67
TypedArrayU8Clamped = 68
TypedArrayU16L = 69
TypedArrayU32L = 70
TypedArrayU64L = 71
TypedArrayI8 = 72
TypedArrayI16B = 73
TypedArrayI32B = 74
TypedArrayI64B = 75
TypedArrayI16L = 77
TypedArrayI32L = 78
TypedArrayI64L = 79
TypedArrayF16B = 80
TypedArrayF32B = 81
TypedArrayF64B = 82
TypedArrayF128B = 83
TypedArrayF16L = 84
TypedArrayF32L = 85
TypedArrayF64L = 86
TypedArrayF128L = 87
MultiDimArrayC = 1_040
Trait Implementations§
Source§impl Ord for IanaTag
impl Ord for IanaTag
Source§impl PartialOrd for IanaTag
impl PartialOrd for IanaTag
impl Copy for IanaTag
impl Eq for IanaTag
impl StructuralPartialEq for IanaTag
Auto Trait Implementations§
impl Freeze for IanaTag
impl RefUnwindSafe for IanaTag
impl Send for IanaTag
impl Sync for IanaTag
impl Unpin for IanaTag
impl UnwindSafe for IanaTag
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