#[repr(u8)]pub enum PrefixSubTlvType {
HasRoute = 0,
BorderRouter = 2,
SixLoWpanId = 3,
NotPresent = 4,
}
Expand description
Value encoded in the type field of a Prefix sub-TLV. Gaps in type numbers are filled by NetworkDataTlv and ServiceSubTlv.
Variants§
Trait Implementations§
Source§impl From<&PrefixSubTlv<'_>> for PrefixSubTlvType
impl From<&PrefixSubTlv<'_>> for PrefixSubTlvType
Source§fn from(prefix_sub_tlv: &PrefixSubTlv<'_>) -> Self
fn from(prefix_sub_tlv: &PrefixSubTlv<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrefixSubTlvType
impl RefUnwindSafe for PrefixSubTlvType
impl Send for PrefixSubTlvType
impl Sync for PrefixSubTlvType
impl Unpin for PrefixSubTlvType
impl UnwindSafe for PrefixSubTlvType
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