#[repr(u8)]pub enum NetworkDataTlvType {
Prefix = 1,
CommissioningData = 4,
Service = 5,
NotPresent = 6,
}
Expand description
Value encoded in the type field of a Network Data TLV. Gaps in type numbers are filled by PrefixSubTlv and ServiceSubTlv.
Variants§
Trait Implementations§
Source§impl From<&NetworkDataTlv<'_>> for NetworkDataTlvType
impl From<&NetworkDataTlv<'_>> for NetworkDataTlvType
Source§fn from(network_data_tlv: &NetworkDataTlv<'_>) -> Self
fn from(network_data_tlv: &NetworkDataTlv<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NetworkDataTlvType
impl RefUnwindSafe for NetworkDataTlvType
impl Send for NetworkDataTlvType
impl Sync for NetworkDataTlvType
impl Unpin for NetworkDataTlvType
impl UnwindSafe for NetworkDataTlvType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more