Skip to main content

TLVElement

Struct TLVElement 

Source
pub struct TLVElement<'a>(/* private fields */);
Expand description

A newtype for reading TLV-encoded data from Rust &[u8] slices.

Semantically, a TLVElement is just a byte slice of TLV-encoded data/stream, and the methods provided by this therefore allow to parse - on the fly - the byte slice as TLV.

Note also, that - as per the Matter Core Spec:

  • A valid TLV stream always represents a SINGLE TLV element (hence why this type is named TLVElement and why we claim that it represents also a whole TLV stream)
  • If there is a need to encode more than one TLV element, they should be encoded in a TLV container (array, list or struct), hence we end up again with a single TLV element, which represents the whole container.

Parsing/reading/validating the TLV of the slice represented by a TLVElement is done on-demand. What this means is that:

  • TLVElement::new(slice) always succeeds, even when the passed slice contains invalid TLV data
  • As the various methods of TLVElement type are called, the data in the slice is parsed and validated on the fly. Hence why all methods on TLVElement except is_empty are fallible.

A TLV element can currently be constructed from an empty &[] slice, but the empty slice does not actually represent a TLV element, so all methods except TLVElement::is_empty would fail on a TLVElement constructed from an empty slice. The only reason why empty slices are currently allowed is to simplify the FromTLV trait a bit by representing data which was not found (i.e. optional data in TLV structures) as a TLVElement with an empty slice.

The design approach from above (on-demand parsing/validation) trades memory efficiency for extra computations, in that by simply decorating a Rust &[u8] slice anbd post-poning everything else post-construction it ensures the size of a TLVElement is equal to the size of the wrapped &[u8] slice - i.e., a regular Rust fat pointer (8 bytes on 32 bit archs and 16 bytes on 64 bit archs).

Furthermore, all accompanying types of TLVElement, like TLVSequence, TLVContainerIter and TLVArray are also just newtypes over byte slices and therefore just as small.

(Keeping interim data is still optionally possible, by using the TLV::tag and TLV::value methods to read the tag and value of a TLV as enums.)

As for representing the encoded TLV stream itself as a raw &[u8] slice - this trivializes the traversal of the stream as the stream traversal is represented as returning sub-slices of the original slice. It also allows FromTLV implementations where the data is borrowed directly from the &[u8] slice representing the encoded TLV stream without any data moves. Types that implement such borrowing are e.g.:

  • &str (used to represent borrowed TLV UTF-8 strings)
  • Bytes<'a> (a newtype over &'a [u8] - used to represent TLV octet strings)
  • TLVArray
  • TLVSequence - discussed below

Also, this representation naturally allows random-access to the TLV stream, which is necessary for a number of reasons:

  • Deserialization of TLV structs into Rust structs (with the FromTLV derive macro) where the order of the TLV elements of the struct is not known in advance
  • Delayed in-place initialization of large Rust types with FromTLV::init_from_tlv which requires random access for reasons beyond the possible unordering of the TLV struct elements.

In practice, random access - and in general - representation of the TLV stream as a &[u8] slice should be natural and convenient, as the TLV stream usually comes from the network UDP/TCP memory buffers of the Matter transport protocol, and these can and are borrowed as &[u8] slices in the upper-layer code for direct reads.

Implementations§

Source§

impl<'a> TLVElement<'a>

Source

pub fn read<T>(&self, ctx: u8) -> Result<T, Error>
where T: FromTLV<'a>,

Read a mandatory context-tagged field out of this (structure) element.

Taking the tag as a runtime argument rather than baking it into the caller is what keeps this cheap in code size: the generated per-field accessors are otherwise structurally identical yet monomorphise separately, so the same TLV walk is emitted once per field instead of once per type.

Source

pub fn read_opt<T>(&self, ctx: u8) -> Result<Option<T>, Error>
where T: FromTLV<'a>,

Read an optional context-tagged field out of this (structure) element.

Returns None when the field is absent. See Self::read for why the tag is a runtime argument.

Source

pub const fn new(data: &'a [u8]) -> TLVElement<'a>

Create a new TLVElement from a byte slice, where the byte slice contains an encoded TLV stream (a TLV element).

Source

pub fn is_empty(&self) -> bool

Return true if the wrapped byte slice is the empty &[] slice. Empty byte slices do not represent valid TLV data, as the TLV data should be a valid TLV element, yet they are useful when implementing the FromTLV trait.

Source

pub fn non_empty(&self) -> Option<&TLVElement<'a>>

Return Some(self) if the wrapped byte slice is not empty, None otherwise.

Source

pub const fn raw_data(&self) -> &'a [u8]

Return a copy of the wrapped TLV byte slice.

Source

pub fn control(&self) -> Result<TLVControl, Error>

Return the TLV control byte of the first TLV in the slice.

Returns an error with code ErrorCode::TLVTypeMismatch if the first byte of the slice does not represent a valid TLV control byte or if the wrapped byte slice is empty.

Source

pub fn raw_value(&self) -> Result<&'a [u8], Error>

Return a sub-slice of the wrapped byte slice that designates the encoded value of this TLVElement (i.e. the raw “value” aspect of the Tag-Length-Value encoding)

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

For getting a parsed value, use value or any of the other helper methods that retrieve a value of a certain type.

Source

pub fn tlv(&self) -> Result<TLV<'a>, Error>

Return a TLV struct representing the tag and value of this TLVElement. This method is a convenience method that combines the tag and value methods.

Source

pub fn tag(&self) -> Result<TLVTag, Error>

Return a TLVTag enum representing the tag of this TLVElement.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Source

pub fn value(&self) -> Result<TLVValue<'a>, Error>

Return a TLVValue enum representing the value of this TLVElement.

Note that if the TLV element is a container, the return TLV value would only deisgnate the container type (struct, array or list) and not the actual content of the container.

Source

pub fn i8(&self) -> Result<i8, Error>

Return the value of this TLV element as an i8.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV S8 value.

Source

pub fn u8(&self) -> Result<u8, Error>

Return the value of this TLV element as a u8.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV U8 value.

Source

pub fn i16(&self) -> Result<i16, Error>

Return the value of this TLV element as an i16.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV S8 or S16 value.

Source

pub fn u16(&self) -> Result<u16, Error>

Return the value of this TLV element as a u16.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV U8 or U16 value.

Source

pub fn i32(&self) -> Result<i32, Error>

Return the value of this TLV element as an i32.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV S8, S16 or S32 value.

Source

pub fn u32(&self) -> Result<u32, Error>

Return the value of this TLV element as a u32.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV U8, U16 or U32 value.

Source

pub fn i64(&self) -> Result<i64, Error>

Return the value of this TLV element as an i64.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV S8, S16, S32 or S64 value.

Source

pub fn u64(&self) -> Result<u64, Error>

Return the value of this TLV element as a u64.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV U8, U16, U32 or U64 value.

Source

pub fn f32(&self) -> Result<f32, Error>

Return the value of this TLV element as an f32.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV F32 value.

Source

pub fn f64(&self) -> Result<f64, Error>

Return the value of this TLV element as an f64.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV F64 value.

Source

pub fn str(&self) -> Result<&'a [u8], Error>

Return the value of this TLV element as a byte slice.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV Octet String.

Source

pub fn utf8(&self) -> Result<&'a str, Error>

Return the value of this TLV element as a UTF-8 string.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV UTF-8 String.

Source

pub fn octets(&self) -> Result<&'a [u8], Error>

Return the value of this TLV element as a UTF-16 string.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV UTF-8 String or a TLV octet string.

Source

pub fn bool(&self) -> Result<bool, Error>

Return the value of this TLV element as a UTF-16 string.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV boolean.

Source

pub fn is_container(&self) -> Result<bool, Error>

Return true if this TLV element is as a container (i.e., a struct, array or list).

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Source

pub fn null(&self) -> Result<(), Error>

Confirm that this TLV element contains a TLV null value.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV null value.

Source

pub fn structure(&self) -> Result<TLVSequence<'a>, Error>

Return the content of the struct container represented by this TLV element.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV struct.

Source

pub fn struct(&self) -> Result<TLVSequence<'a>, Error>

Return the content of the struct container represented by this TLV element.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV struct.

(Same as method structure but with a special name to ease the FromTLV trait derivation for user types.)

Source

pub fn array(&self) -> Result<TLVSequence<'a>, Error>

Return the content of the array container represented by this TLV element.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV array.

Source

pub fn list(&self) -> Result<TLVSequence<'a>, Error>

Return the content of the list container represented by this TLV element.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV list.

Source

pub fn container(&self) -> Result<TLVSequence<'a>, Error>

Return the content of the container (array, struct or list) represented by this TLV element.

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the value of the TLV element is not a TLV container.

Source

pub fn confirm_anon(&self) -> Result<(), Error>

Confirm that this TLV element is tagged with the anonymous tag (TLVTag::Anonymous).

Returns an error with code ErrorCode::TLVTypeMismatch if the wrapped TLV byte slice contains malformed TLV data.

Returns an error with code ErrorCode::InvalidData if the tag of the TLV element is not the anonymous tag.

Source

pub fn ctx(&self) -> Result<u8, Error>

Retrieve the context ID of the element. If element is not tagged with a context tag, the method will return an error.

Source

pub fn try_ctx(&self) -> Result<Option<u8>, Error>

Retrieve the context ID of the element. If element is not tagged with a context tag, the method will return None.

Trait Implementations§

Source§

impl<'a> Clone for TLVElement<'a>

Source§

fn clone(&self) -> TLVElement<'a>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TLVElement<'_>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Display for TLVElement<'_>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'a> Eq for TLVElement<'a>

Source§

impl<'a> FromTLV<'a> for TLVElement<'a>

Source§

fn from_tlv(element: &TLVElement<'a>) -> Result<TLVElement<'a>, Error>

Deserialize the type from a TLV-encoded element.
Source§

fn init_from_tlv(element: TLVElement<'a>) -> impl Init<Self, Error>

Generate an in-place initializer for the type that initializes the type from a TLV-encoded element.
Source§

fn nullable_from_tlv(element: &TLVElement<'a>) -> Result<Self, Error>

Deserialize the type from a TLV-encoded element. Read more
Source§

fn init_nullable_from_tlv(element: TLVElement<'a>) -> impl Init<Self, Error>

Generate an in-place initializer for the type that initializes the type from a TLV-encoded element. Read more
Source§

impl<'a> Hash for TLVElement<'a>

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl<'a> PartialEq for TLVElement<'a>

Source§

fn eq(&self, other: &TLVElement<'a>) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl<'a> StructuralPartialEq for TLVElement<'a>

Source§

impl ToTLV for TLVElement<'_>

Source§

fn to_tlv<W>(&self, tag: &TLVTag, tw: W) -> Result<(), Error>
where W: TLVWrite,

Serialize the type to a TLV-encoded stream.
Source§

fn tlv_iter(&self, tag: TLVTag) -> impl Iterator<Item = Result<TLV<'_>, Error>>

Serialize the type as an iterator of TLV instances by potentially borrowing data from the type.
Source§

fn nullable_to_tlv<W>(&self, tag: &TLVTag, tw: W) -> Result<(), Error>
where W: TLVWrite,

Serialize the type to a TLV-encoded stream. Read more
Source§

fn nullable_tlv_iter( &self, tag: TLVTag, ) -> impl Iterator<Item = Result<TLV<'_>, Error>>

Serialize the type as an iterator of TLV instances by potentially borrowing data from the type. Read more
Source§

impl TryFrom<&TLVElement<'_>> for AreaTypeTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AreaTypeTag, <AreaTypeTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AtomicRequestTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AtomicRequestTypeEnum, <AtomicRequestTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for LandmarkTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<LandmarkTag, <LandmarkTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for LocationTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<LocationTag, <LocationTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for MeasurementTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<MeasurementTypeEnum, <MeasurementTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for PositionTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<PositionTag, <PositionTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for PowerThresholdSourceEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<PowerThresholdSourceEnum, <PowerThresholdSourceEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for RelativePositionTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<RelativePositionTag, <RelativePositionTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for SoftwareVersionCertificationStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<SoftwareVersionCertificationStatusEnum, <SoftwareVersionCertificationStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StreamUsageEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StreamUsageEnum, <StreamUsageEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TariffPriceTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TariffPriceTypeEnum, <TariffPriceTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TariffUnitEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TariffUnitEnum, <TariffUnitEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TestGlobalEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TestGlobalEnum, <TestGlobalEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ThreeLevelAutoEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ThreeLevelAutoEnum, <ThreeLevelAutoEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for WebRTCEndReasonEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<WebRTCEndReasonEnum, <WebRTCEndReasonEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ChangeIndicationEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ChangeIndicationEnum, <ChangeIndicationEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DegradationDirectionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DegradationDirectionEnum, <DegradationDirectionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ProductIdentifierTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ProductIdentifierTypeEnum, <ProductIdentifierTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for LevelValueEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<LevelValueEnum, <LevelValueEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for MeasurementMediumEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<MeasurementMediumEnum, <MeasurementMediumEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for MeasurementUnitEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<MeasurementUnitEnum, <MeasurementUnitEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EffectIdentifierEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EffectIdentifierEnum, <EffectIdentifierEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EffectVariantEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EffectVariantEnum, <EffectVariantEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for IdentifyTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<IdentifyTypeEnum, <IdentifyTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DelayedAllOffEffectVariantEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DelayedAllOffEffectVariantEnum, <DelayedAllOffEffectVariantEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DyingLightEffectVariantEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DyingLightEffectVariantEnum, <DyingLightEffectVariantEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EffectIdentifierEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EffectIdentifierEnum, <EffectIdentifierEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StartUpOnOffEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StartUpOnOffEnum, <StartUpOnOffEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for MoveModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<MoveModeEnum, <MoveModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StepModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StepModeEnum, <StepModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AccessControlAuxiliaryTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AccessControlAuxiliaryTypeEnum, <AccessControlAuxiliaryTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AccessControlEntryAuthModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AccessControlEntryAuthModeEnum, <AccessControlEntryAuthModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AccessControlEntryPrivilegeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AccessControlEntryPrivilegeEnum, <AccessControlEntryPrivilegeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AccessRestrictionTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AccessRestrictionTypeEnum, <AccessRestrictionTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ChangeTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ChangeTypeEnum, <ChangeTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ActionErrorEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ActionErrorEnum, <ActionErrorEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ActionStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ActionStateEnum, <ActionStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ActionTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ActionTypeEnum, <ActionTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EndpointListTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EndpointListTypeEnum, <EndpointListTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ColorEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ColorEnum, <ColorEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ProductFinishEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ProductFinishEnum, <ProductFinishEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ApplyUpdateActionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ApplyUpdateActionEnum, <ApplyUpdateActionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DownloadProtocolEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DownloadProtocolEnum, <DownloadProtocolEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusEnum, <StatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AnnouncementReasonEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AnnouncementReasonEnum, <AnnouncementReasonEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ChangeReasonEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ChangeReasonEnum, <ChangeReasonEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for UpdateStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<UpdateStateEnum, <UpdateStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CalendarTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CalendarTypeEnum, <CalendarTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for HourFormatEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<HourFormatEnum, <HourFormatEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TempUnitEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TempUnitEnum, <TempUnitEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for BatApprovedChemistryEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<BatApprovedChemistryEnum, <BatApprovedChemistryEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for BatChargeFaultEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<BatChargeFaultEnum, <BatChargeFaultEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for BatChargeLevelEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<BatChargeLevelEnum, <BatChargeLevelEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for BatChargeStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<BatChargeStateEnum, <BatChargeStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for BatCommonDesignationEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<BatCommonDesignationEnum, <BatCommonDesignationEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for BatFaultEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<BatFaultEnum, <BatFaultEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for BatReplaceabilityEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<BatReplaceabilityEnum, <BatReplaceabilityEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for PowerSourceStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<PowerSourceStatusEnum, <PowerSourceStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for WiredCurrentTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<WiredCurrentTypeEnum, <WiredCurrentTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for WiredFaultEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<WiredFaultEnum, <WiredFaultEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CommissioningErrorEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CommissioningErrorEnum, <CommissioningErrorEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for NetworkRecoveryReasonEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<NetworkRecoveryReasonEnum, <NetworkRecoveryReasonEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for RegulatoryLocationTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<RegulatoryLocationTypeEnum, <RegulatoryLocationTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for NetworkCommissioningStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<NetworkCommissioningStatusEnum, <NetworkCommissioningStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for WiFiBandEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<WiFiBandEnum, <WiFiBandEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for IntentEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<IntentEnum, <IntentEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusEnum, <StatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TransferProtocolEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TransferProtocolEnum, <TransferProtocolEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for BootReasonEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<BootReasonEnum, <BootReasonEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for HardwareFaultEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<HardwareFaultEnum, <HardwareFaultEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for InterfaceTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<InterfaceTypeEnum, <InterfaceTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for NetworkFaultEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<NetworkFaultEnum, <NetworkFaultEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for RadioFaultEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<RadioFaultEnum, <RadioFaultEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ConnectionStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ConnectionStatusEnum, <ConnectionStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for NetworkFaultEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<NetworkFaultEnum, <NetworkFaultEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for RoutingRoleEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<RoutingRoleEnum, <RoutingRoleEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AssociationFailureCauseEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AssociationFailureCauseEnum, <AssociationFailureCauseEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ConnectionStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ConnectionStatusEnum, <ConnectionStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for SecurityTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<SecurityTypeEnum, <SecurityTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for WiFiVersionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<WiFiVersionEnum, <WiFiVersionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for PHYRateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<PHYRateEnum, <PHYRateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for GranularityEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<GranularityEnum, <GranularityEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusCode

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusCode, <StatusCode as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TimeSourceEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TimeSourceEnum, <TimeSourceEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TimeZoneDatabaseEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TimeZoneDatabaseEnum, <TimeZoneDatabaseEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ColorEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ColorEnum, <ColorEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ProductFinishEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ProductFinishEnum, <ProductFinishEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CommissioningWindowStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CommissioningWindowStatusEnum, <CommissioningWindowStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusCode

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusCode, <StatusCode as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CertificateChainTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CertificateChainTypeEnum, <CertificateChainTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for NodeOperationalCertStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<NodeOperationalCertStatusEnum, <NodeOperationalCertStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for GroupKeyMulticastPolicyEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<GroupKeyMulticastPolicyEnum, <GroupKeyMulticastPolicyEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for GroupKeySecurityPolicyEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<GroupKeySecurityPolicyEnum, <GroupKeySecurityPolicyEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ClientTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ClientTypeEnum, <ClientTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OperatingModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OperatingModeEnum, <OperatingModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ErrorStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ErrorStateEnum, <ErrorStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OperationalStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OperationalStateEnum, <OperationalStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ModeTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ModeTag, <ModeTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DrynessLevelEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DrynessLevelEnum, <DrynessLevelEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TopologyEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TopologyEnum, <TopologyEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ModeTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ModeTag, <ModeTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ModeTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ModeTag, <ModeTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for NumberOfRinsesEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<NumberOfRinsesEnum, <NumberOfRinsesEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ModeTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ModeTag, <ModeTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusCode

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusCode, <StatusCode as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ModeTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ModeTag, <ModeTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusCode

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusCode, <StatusCode as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ModeTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ModeTag, <ModeTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AirQualityEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AirQualityEnum, <AirQualityEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AlarmStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AlarmStateEnum, <AlarmStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ContaminationStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ContaminationStateEnum, <ContaminationStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EndOfServiceEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EndOfServiceEnum, <EndOfServiceEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ExpressedStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ExpressedStateEnum, <ExpressedStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for MuteStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<MuteStateEnum, <MuteStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for SensitivityEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<SensitivityEnum, <SensitivityEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ModeTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ModeTag, <ModeTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ErrorStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ErrorStateEnum, <ErrorStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OperationalStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OperationalStateEnum, <OperationalStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ErrorStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ErrorStateEnum, <ErrorStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OperationalStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OperationalStateEnum, <OperationalStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for GroupcastTestResultEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<GroupcastTestResultEnum, <GroupcastTestResultEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for GroupcastTestingEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<GroupcastTestingEnum, <GroupcastTestingEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for MulticastAddrPolicyEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<MulticastAddrPolicyEnum, <MulticastAddrPolicyEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusCodeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusCodeEnum, <StatusCodeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ValveStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ValveStateEnum, <ValveStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for PowerModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<PowerModeEnum, <PowerModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for BoostStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<BoostStateEnum, <BoostStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for FutureMessagePreferenceEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<FutureMessagePreferenceEnum, <FutureMessagePreferenceEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for MessagePriorityEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<MessagePriorityEnum, <MessagePriorityEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AdjustmentCauseEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AdjustmentCauseEnum, <AdjustmentCauseEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CauseEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CauseEnum, <CauseEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CostTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CostTypeEnum, <CostTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ESAStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ESAStateEnum, <ESAStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ESATypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ESATypeEnum, <ESATypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ForecastUpdateReasonEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ForecastUpdateReasonEnum, <ForecastUpdateReasonEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OptOutStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OptOutStateEnum, <OptOutStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for PowerAdjustReasonEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<PowerAdjustReasonEnum, <PowerAdjustReasonEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EnergyTransferStoppedReasonEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EnergyTransferStoppedReasonEnum, <EnergyTransferStoppedReasonEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for FaultStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<FaultStateEnum, <FaultStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StateEnum, <StateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for SupplyStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<SupplyStateEnum, <SupplyStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EnergyPriorityEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EnergyPriorityEnum, <EnergyPriorityEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ModeTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ModeTag, <ModeTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ModeTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ModeTag, <ModeTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ModeTag

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ModeTag, <ModeTag as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ThreeLevelEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ThreeLevelEnum, <ThreeLevelEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EndOfLifeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EndOfLifeEnum, <EndOfLifeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CurrentTripCurveEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CurrentTripCurveEnum, <CurrentTripCurveEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CurrentWaveformEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CurrentWaveformEnum, <CurrentWaveformEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for GroundFaultClassEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<GroundFaultClassEnum, <GroundFaultClassEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AlarmCodeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AlarmCodeEnum, <AlarmCodeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CredentialRuleEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CredentialRuleEnum, <CredentialRuleEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CredentialTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CredentialTypeEnum, <CredentialTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DataOperationTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DataOperationTypeEnum, <DataOperationTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DlLockState

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DlLockState, <DlLockState as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DlLockType

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DlLockType, <DlLockType as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DlStatus

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DlStatus, <DlStatus as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DoorLockOperationEventCode

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DoorLockOperationEventCode, <DoorLockOperationEventCode as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DoorLockProgrammingEventCode

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DoorLockProgrammingEventCode, <DoorLockProgrammingEventCode as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DoorLockSetPinOrIdStatus

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DoorLockSetPinOrIdStatus, <DoorLockSetPinOrIdStatus as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DoorLockUserStatus

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DoorLockUserStatus, <DoorLockUserStatus as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DoorLockUserType

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DoorLockUserType, <DoorLockUserType as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DoorStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DoorStateEnum, <DoorStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for LockDataTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<LockDataTypeEnum, <LockDataTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for LockOperationTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<LockOperationTypeEnum, <LockOperationTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OperatingModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OperatingModeEnum, <OperatingModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OperationErrorEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OperationErrorEnum, <OperationErrorEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OperationSourceEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OperationSourceEnum, <OperationSourceEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusCodeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusCodeEnum, <StatusCodeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for UserStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<UserStatusEnum, <UserStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for UserTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<UserTypeEnum, <UserTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EndProductType

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EndProductType, <EndProductType as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for Type

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<Type, <Type as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ClosureErrorEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ClosureErrorEnum, <ClosureErrorEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CurrentPositionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CurrentPositionEnum, <CurrentPositionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for MainStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<MainStateEnum, <MainStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TargetPositionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TargetPositionEnum, <TargetPositionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ClosureUnitEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ClosureUnitEnum, <ClosureUnitEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ModulationTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ModulationTypeEnum, <ModulationTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OverflowEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OverflowEnum, <OverflowEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for RotationAxisEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<RotationAxisEnum, <RotationAxisEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StepDirectionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StepDirectionEnum, <StepDirectionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TranslationDirectionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TranslationDirectionEnum, <TranslationDirectionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OperationalStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OperationalStatusEnum, <OperationalStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for SelectAreasStatus

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<SelectAreasStatus, <SelectAreasStatus as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for SkipAreaStatus

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<SkipAreaStatus, <SkipAreaStatus as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ControlModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ControlModeEnum, <ControlModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OperationModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OperationModeEnum, <OperationModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ACCapacityFormatEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ACCapacityFormatEnum, <ACCapacityFormatEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ACCompressorTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ACCompressorTypeEnum, <ACCompressorTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ACLouverPositionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ACLouverPositionEnum, <ACLouverPositionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ACRefrigerantTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ACRefrigerantTypeEnum, <ACRefrigerantTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ACTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ACTypeEnum, <ACTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ControlSequenceOfOperationEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ControlSequenceOfOperationEnum, <ControlSequenceOfOperationEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for PresetScenarioEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<PresetScenarioEnum, <PresetScenarioEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for SetpointChangeSourceEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<SetpointChangeSourceEnum, <SetpointChangeSourceEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for SetpointRaiseLowerModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<SetpointRaiseLowerModeEnum, <SetpointRaiseLowerModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StartOfWeekEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StartOfWeekEnum, <StartOfWeekEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for SystemModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<SystemModeEnum, <SystemModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TemperatureSetpointHoldEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TemperatureSetpointHoldEnum, <TemperatureSetpointHoldEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ThermostatRunningModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ThermostatRunningModeEnum, <ThermostatRunningModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AirflowDirectionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AirflowDirectionEnum, <AirflowDirectionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for FanModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<FanModeEnum, <FanModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for FanModeSequenceEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<FanModeSequenceEnum, <FanModeSequenceEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StepDirectionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StepDirectionEnum, <StepDirectionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for KeypadLockoutEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<KeypadLockoutEnum, <KeypadLockoutEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ScheduleProgrammingVisibilityEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ScheduleProgrammingVisibilityEnum, <ScheduleProgrammingVisibilityEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TemperatureDisplayModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TemperatureDisplayModeEnum, <TemperatureDisplayModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ModeEnum, <ModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for SystemStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<SystemStateEnum, <SystemStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ColorLoopActionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ColorLoopActionEnum, <ColorLoopActionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ColorLoopDirectionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ColorLoopDirectionEnum, <ColorLoopDirectionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ColorModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ColorModeEnum, <ColorModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DirectionEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DirectionEnum, <DirectionEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DriftCompensationEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DriftCompensationEnum, <DriftCompensationEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EnhancedColorModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EnhancedColorModeEnum, <EnhancedColorModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for MoveModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<MoveModeEnum, <MoveModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StepModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StepModeEnum, <StepModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EffectColorModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EffectColorModeEnum, <EffectColorModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EffectSourceEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EffectSourceEnum, <EffectSourceEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for LightSensorTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<LightSensorTypeEnum, <LightSensorTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OccupancySensorTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OccupancySensorTypeEnum, <OccupancySensorTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for UnionContributorStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<UnionContributorStatusEnum, <UnionContributorStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for UnionHealthEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<UnionHealthEnum, <UnionHealthEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for BLTCSModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<BLTCSModeEnum, <BLTCSModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for BLTCSSecurityLevelEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<BLTCSSecurityLevelEnum, <BLTCSSecurityLevelEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for NADMEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<NADMEnum, <NADMEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for RDRReferenceEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<RDRReferenceEnum, <RDRReferenceEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for RangingRoleEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<RangingRoleEnum, <RangingRoleEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for RangingSecurityEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<RangingSecurityEnum, <RangingSecurityEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for RangingSessionStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<RangingSessionStatusEnum, <RangingSessionStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for RangingTechEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<RangingTechEnum, <RangingTechEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ResultCodeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ResultCodeEnum, <ResultCodeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for IdentityTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<IdentityTypeEnum, <IdentityTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ChannelTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ChannelTypeEnum, <ChannelTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for LineupInfoTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<LineupInfoTypeEnum, <LineupInfoTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusEnum, <StatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusEnum, <StatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CharacteristicEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CharacteristicEnum, <CharacteristicEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for PlaybackStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<PlaybackStateEnum, <PlaybackStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusEnum, <StatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for InputTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<InputTypeEnum, <InputTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CECKeyCodeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CECKeyCodeEnum, <CECKeyCodeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusEnum, <StatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CharacteristicEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CharacteristicEnum, <CharacteristicEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for MetricTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<MetricTypeEnum, <MetricTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ParameterEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ParameterEnum, <ParameterEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusEnum, <StatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for OutputTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<OutputTypeEnum, <OutputTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusEnum, <StatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ApplicationStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ApplicationStatusEnum, <ApplicationStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusCodeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusCodeEnum, <StatusCodeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusEnum, <StatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusCodeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusCodeEnum, <StatusCodeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ZoneEventStoppedReasonEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ZoneEventStoppedReasonEnum, <ZoneEventStoppedReasonEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ZoneEventTriggeredReasonEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ZoneEventTriggeredReasonEnum, <ZoneEventTriggeredReasonEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ZoneSourceEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ZoneSourceEnum, <ZoneSourceEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ZoneTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ZoneTypeEnum, <ZoneTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ZoneUseEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ZoneUseEnum, <ZoneUseEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AudioCodecEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AudioCodecEnum, <AudioCodecEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ImageCodecEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ImageCodecEnum, <ImageCodecEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TriStateAutoEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TriStateAutoEnum, <TriStateAutoEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TwoWayTalkSupportTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TwoWayTalkSupportTypeEnum, <TwoWayTalkSupportTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for VideoCodecEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<VideoCodecEnum, <VideoCodecEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for PhysicalMovementEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<PhysicalMovementEnum, <PhysicalMovementEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for CMAFInterfaceEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<CMAFInterfaceEnum, <CMAFInterfaceEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ContainerFormatEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ContainerFormatEnum, <ContainerFormatEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for IngestMethodsEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<IngestMethodsEnum, <IngestMethodsEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusCodeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusCodeEnum, <StatusCodeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TransportStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TransportStatusEnum, <TransportStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TransportTriggerTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TransportTriggerTypeEnum, <TransportTriggerTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TriggerActivationReasonEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TriggerActivationReasonEnum, <TriggerActivationReasonEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AnalysisStreamStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AnalysisStreamStateEnum, <AnalysisStreamStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for AuxiliaryLoadSettingEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<AuxiliaryLoadSettingEnum, <AuxiliaryLoadSettingEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for BlockModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<BlockModeEnum, <BlockModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DayEntryRandomizationTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DayEntryRandomizationTypeEnum, <DayEntryRandomizationTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DayTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DayTypeEnum, <DayTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for PeakPeriodSeverityEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<PeakPeriodSeverityEnum, <PeakPeriodSeverityEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DatastoreAccessControlEntryAuthModeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DatastoreAccessControlEntryAuthModeEnum, <DatastoreAccessControlEntryAuthModeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DatastoreAccessControlEntryPrivilegeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DatastoreAccessControlEntryPrivilegeEnum, <DatastoreAccessControlEntryPrivilegeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DatastoreGroupKeyMulticastPolicyEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DatastoreGroupKeyMulticastPolicyEnum, <DatastoreGroupKeyMulticastPolicyEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DatastoreGroupKeySecurityPolicyEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DatastoreGroupKeySecurityPolicyEnum, <DatastoreGroupKeySecurityPolicyEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for DatastoreStateEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<DatastoreStateEnum, <DatastoreStateEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ICACCSRResponseStatusCodeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ICACCSRResponseStatusCodeEnum, <ICACCSRResponseStatusCodeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for ICACResponseStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<ICACResponseStatusEnum, <ICACResponseStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for TransferAnchorResponseStatusEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<TransferAnchorResponseStatusEnum, <TransferAnchorResponseStatusEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for StatusCodeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<StatusCodeEnum, <StatusCodeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for MeterTypeEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<MeterTypeEnum, <MeterTypeEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for SimpleEnum

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<SimpleEnum, <SimpleEnum as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for FaultType

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<FaultType, <FaultType as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl TryFrom<&TLVElement<'_>> for EventPriority

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'_>, ) -> Result<EventPriority, <EventPriority as TryFrom<&TLVElement<'_>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for Target

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<Target, <Target as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for AclEntry

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<AclEntry, <AclEntry as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for DeviceLocation

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<DeviceLocation, <DeviceLocation as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for BasicInfoSettings

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<BasicInfoSettings, <BasicInfoSettings as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for Binding

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<Binding, <Binding as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for MonitoringRegistration

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<MonitoringRegistration, <MonitoringRegistration as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for Provider

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<Provider, <Provider as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for NeighborTable

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<NeighborTable, <NeighborTable as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for RouteTable

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<RouteTable, <RouteTable as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for SecurityPolicy

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<SecurityPolicy, <SecurityPolicy as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for OperationalDatasetComponents

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<OperationalDatasetComponents, <OperationalDatasetComponents as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for TrustedTimeSource

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<TrustedTimeSource, <TrustedTimeSource as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for DSTOffsetEntry

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<DSTOffsetEntry, <DSTOffsetEntry as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for LabelEntry

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<LabelEntry, <LabelEntry as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for Thread

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<Thread, <Thread as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for Wifi

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<Wifi, <Wifi as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for Fabric

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<Fabric, <Fabric as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for KeySet

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<KeySet, <KeySet as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for SubscribeResp

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<SubscribeResp, <SubscribeResp as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for AttrPath

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<AttrPath, <AttrPath as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for AttrStatus

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<AttrStatus, <AttrStatus as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for ClusterPath

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<ClusterPath, <ClusterPath as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for DataVersionFilter

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<DataVersionFilter, <DataVersionFilter as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for EventFilter

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<EventFilter, <EventFilter as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for EventPath

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<EventPath, <EventPath as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for EventStatus

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<EventStatus, <EventStatus as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for CmdPath

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<CmdPath, <CmdPath as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for CmdStatus

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<CmdStatus, <CmdStatus as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for Status

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<Status, <Status as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for StatusResp

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<StatusResp, <StatusResp as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'__from_tlv> TryFrom<&TLVElement<'__from_tlv>> for TimedReq

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'__from_tlv>, ) -> Result<TimedReq, <TimedReq as TryFrom<&TLVElement<'__from_tlv>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for CertRef<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<CertRef<'a>, <CertRef<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for ReadReq<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<ReadReq<'a>, <ReadReq<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for SubscribeReq<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<SubscribeReq<'a>, <SubscribeReq<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for WriteReq<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<WriteReq<'a>, <WriteReq<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for WriteResp<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<WriteResp<'a>, <WriteResp<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for AttrData<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<AttrData<'a>, <AttrData<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for AttrResp<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<AttrResp<'a>, <AttrResp<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for ReportDataResp<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<ReportDataResp<'a>, <ReportDataResp<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for EventResp<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<EventResp<'a>, <EventResp<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for CmdData<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<CmdData<'a>, <CmdData<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for CmdResp<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<CmdResp<'a>, <CmdResp<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for InvReq<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<InvReq<'a>, <InvReq<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&TLVElement<'a>> for InvokeResp<'a>

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from( element: &TLVElement<'a>, ) -> Result<InvokeResp<'a>, <InvokeResp<'a> as TryFrom<&TLVElement<'a>>>::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl<'a> Freeze for TLVElement<'a>

§

impl<'a> RefUnwindSafe for TLVElement<'a>

§

impl<'a> Send for TLVElement<'a>

§

impl<'a> Sync for TLVElement<'a>

§

impl<'a> Unpin for TLVElement<'a>

§

impl<'a> UnsafeUnpin for TLVElement<'a>

§

impl<'a> UnwindSafe for TLVElement<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, E> Init<T, E> for T

Source§

unsafe fn __init(self, slot: *mut T) -> Result<(), E>

Initializes slot. Read more
Source§

fn chain<F>(self, f: F) -> ChainInit<Self, F, T, E>
where F: FnOnce(&mut T) -> Result<(), E>,

First initializes the value using self then calls the function f with the initialized value. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, I> IntoFallibleInit<T> for I
where I: Init<T>,

Source§

fn into_fallible<E>(self) -> impl Init<T, E>

Convert the infallible initializer to a fallible one.
Source§

impl<Source, Target> OctetsInto<Target> for Source
where Target: OctetsFrom<Source>,

Source§

type Error = <Target as OctetsFrom<Source>>::Error

Source§

fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>

Performs the conversion.
Source§

fn octets_into(self) -> Target
where Self::Error: Into<Infallible>,

Performs an infallible conversion.
Source§

impl<T, E> PinInit<T, E> for T

Source§

unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E>

Initializes slot. Read more
Source§

fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E>
where F: FnOnce(Pin<&mut T>) -> Result<(), E>,

First initializes the value using self then calls the function f with the initialized value. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V