#[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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
DateTime
: 0 bytesTimestamp
: 0 bytesPosBignum
: 0 bytesNegBignum
: 0 bytesDecimal
: 0 bytesBigfloat
: 0 bytesToBase64Url
: 0 bytesToBase64
: 0 bytesToBase16
: 0 bytesCbor
: 0 bytesUri
: 0 bytesBase64Url
: 0 bytesBase64
: 0 bytesRegex
: 0 bytesMime
: 0 bytesHomogenousArray
: 0 bytesTypedArrayU8
: 0 bytesTypedArrayU8Clamped
: 0 bytesTypedArrayU16B
: 0 bytesTypedArrayU32B
: 0 bytesTypedArrayU64B
: 0 bytesTypedArrayU16L
: 0 bytesTypedArrayU32L
: 0 bytesTypedArrayU64L
: 0 bytesTypedArrayI8
: 0 bytesTypedArrayI16B
: 0 bytesTypedArrayI32B
: 0 bytesTypedArrayI64B
: 0 bytesTypedArrayI16L
: 0 bytesTypedArrayI32L
: 0 bytesTypedArrayI64L
: 0 bytesTypedArrayF16B
: 0 bytesTypedArrayF32B
: 0 bytesTypedArrayF64B
: 0 bytesTypedArrayF128B
: 0 bytesTypedArrayF16L
: 0 bytesTypedArrayF32L
: 0 bytesTypedArrayF64L
: 0 bytesTypedArrayF128L
: 0 bytesMultiDimArrayR
: 0 bytesMultiDimArrayC
: 0 bytes