[][src]Enum cbor_enhanced::IanaTag

pub enum IanaTag {
    Unknown(u64),
    DateTimeString,
    EpochBasedTime,
    PositiveBigNum,
    NegativeBigNum,
    DecimalFraction,
    BigFloat,
    CoseEncrypt0,
    CoseMac0,
    CoseSign1,
    Base64UrlMultiple,
    Base64Multiple,
    Base16Multiple,
    CborDataItem,
    StringReference,
    PerlObject,
    LanguageIndependentObject,
    MarkValueAsShared,
    ValueReference,
    RationalNumber,
    AbsentArrayElement,
    Uri,
    Base64Url,
    Base64,
    Regex,
    MimeMessage,
    Uuid,
    LanguageTag,
    Identifier,
    MultiDimArrayRowMajor,
    HomogeneousArray,
    IpldContentIdentifier,
    YangBits,
    YangEnumartion,
    YangIdentityRef,
    YangInstanceId,
    YangSchemaId,
    CborWebToken,
    Uint8Array,
    Uint16BeArray,
    Uint32BeArray,
    Uint64BeArray,
    Uint8ClampedArray,
    Uint16LeArray,
    Uint32LeArray,
    Uint64LeArray,
    Sint8Array,
    Sint16BeArray,
    Sint32BeArray,
    Sint64BeArray,
    Sint16LeArray,
    Sint32LeArray,
    Sint64LeArray,
    F16BeArray,
    F32BeArray,
    F64BeArray,
    F128BeArray,
    F16LeArray,
    F32LeArray,
    F64LeArray,
    F128LeArray,
    CoseEncrypt,
    CoseMac,
    CoseSign,
    GeoCoordinate,
    IotDataPoint,
    MarkStringRef,
    BinaryMime,
    MathFinitSet,
    MapKeyValue,
    NetworkAddress,
    NetworkAddressPlusMask,
    EmbeddedJson,
    HexString,
    DecimalFractionWithArbitraryExponent,
    BigFloatWithArbitraryExponent,
    InternationalizedResourceIdentifier,
    InternationalizedResourceIdentifierReference,
    ExtendedDecimalFraction,
    ExtendedBigFloat,
    ExtendedRationalNumber,
    ExtendedTime,
    ExtendedDuration,
    ExtendedPeriod,
    MultiDimArrayColumnMajor,
    HintForAdditionalIndirectionLevel,
    SelfDescribeCbor,
    RainsMessage,
}

Variants

Unknown(u64)
DateTimeString
EpochBasedTime
PositiveBigNum
NegativeBigNum
DecimalFraction
BigFloat
CoseEncrypt0
CoseMac0
CoseSign1
Base64UrlMultiple
Base64Multiple
Base16Multiple
CborDataItem
StringReference
PerlObject
LanguageIndependentObject
MarkValueAsShared
ValueReference
RationalNumber
AbsentArrayElement
Uri
Base64Url
Base64
Regex
MimeMessage
Uuid
LanguageTag
Identifier
MultiDimArrayRowMajor
HomogeneousArray
IpldContentIdentifier
YangBits
YangEnumartion
YangIdentityRef
YangInstanceId
YangSchemaId
CborWebToken
Uint8Array
Uint16BeArray
Uint32BeArray
Uint64BeArray
Uint8ClampedArray
Uint16LeArray
Uint32LeArray
Uint64LeArray
Sint8Array
Sint16BeArray
Sint32BeArray
Sint64BeArray
Sint16LeArray
Sint32LeArray
Sint64LeArray
F16BeArray
F32BeArray
F64BeArray
F128BeArray
F16LeArray
F32LeArray
F64LeArray
F128LeArray
CoseEncrypt
CoseMac
CoseSign
GeoCoordinate
IotDataPoint
MarkStringRef
BinaryMime
MathFinitSet
MapKeyValue
NetworkAddress
NetworkAddressPlusMask
EmbeddedJson
HexString
DecimalFractionWithArbitraryExponent
BigFloatWithArbitraryExponent
InternationalizedResourceIdentifier
InternationalizedResourceIdentifierReference
ExtendedDecimalFraction
ExtendedBigFloat
ExtendedRationalNumber
ExtendedTime
ExtendedDuration
ExtendedPeriod
MultiDimArrayColumnMajor
HintForAdditionalIndirectionLevel
SelfDescribeCbor
RainsMessage

Implementations

impl IanaTag[src]

pub fn to_tag(&self) -> u64[src]

pub fn from_tag(tag: u64) -> Self[src]

Trait Implementations

impl Clone for IanaTag[src]

impl Copy for IanaTag[src]

impl Debug for IanaTag[src]

impl Display for IanaTag[src]

impl Eq for IanaTag[src]

impl Hash for IanaTag[src]

impl PartialEq<IanaTag> for IanaTag[src]

impl StructuralEq for IanaTag[src]

impl StructuralPartialEq for IanaTag[src]

Auto Trait Implementations

impl RefUnwindSafe for IanaTag

impl Send for IanaTag

impl Sync for IanaTag

impl Unpin for IanaTag

impl UnwindSafe for IanaTag

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.