#[non_exhaustive]pub enum IanaTag {
Show 41 variants
DateTime,
Timestamp,
PosBignum,
NegBignum,
Decimal,
Bigfloat,
ToBase64Url,
ToBase64,
ToBase16,
Cbor,
Uri,
Base64Url,
Base64,
Regex,
Mime,
HomogenousArray,
TypedArrayU8,
TypedArrayU8Clamped,
TypedArrayU16B,
TypedArrayU32B,
TypedArrayU64B,
TypedArrayU16L,
TypedArrayU32L,
TypedArrayU64L,
TypedArrayI8,
TypedArrayI16B,
TypedArrayI32B,
TypedArrayI64B,
TypedArrayI16L,
TypedArrayI32L,
TypedArrayI64L,
TypedArrayF16B,
TypedArrayF32B,
TypedArrayF64B,
TypedArrayF128B,
TypedArrayF16L,
TypedArrayF32L,
TypedArrayF64L,
TypedArrayF128L,
MultiDimArrayR,
MultiDimArrayC,
}
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
Timestamp
PosBignum
NegBignum
Decimal
Bigfloat
ToBase64Url
ToBase64
ToBase16
Cbor
Uri
Base64Url
Base64
Regex
Mime
HomogenousArray
TypedArrayU8
TypedArrayU8Clamped
TypedArrayU16B
TypedArrayU32B
TypedArrayU64B
TypedArrayU16L
TypedArrayU32L
TypedArrayU64L
TypedArrayI8
TypedArrayI16B
TypedArrayI32B
TypedArrayI64B
TypedArrayI16L
TypedArrayI32L
TypedArrayI64L
TypedArrayF16B
TypedArrayF32B
TypedArrayF64B
TypedArrayF128B
TypedArrayF16L
TypedArrayF32L
TypedArrayF64L
TypedArrayF128L
MultiDimArrayR
MultiDimArrayC
Implementations§
Trait Implementations§
source§impl Ord for IanaTag
impl Ord for IanaTag
source§impl PartialEq for IanaTag
impl PartialEq for IanaTag
source§impl PartialOrd for IanaTag
impl PartialOrd for IanaTag
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 moreimpl 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