Enum capsules_extra::net::thread::tlv::PrefixSubTlvType
source · #[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