pub struct PanId(/* private fields */);Expand description
IEEE 802.15.4 PAN ID
Implementations§
Trait Implementations§
Source§impl DecodeTlvUnchecked for PanId
impl DecodeTlvUnchecked for PanId
Source§impl DecodeTlvValueUnchecked for PanId
impl DecodeTlvValueUnchecked for PanId
Source§impl TlvConstantMetadata for &PanIdwhere
PanId: TlvConstantMetadata,
impl TlvConstantMetadata for &PanIdwhere
PanId: TlvConstantMetadata,
Source§impl TlvConstantMetadata for PanId
impl TlvConstantMetadata for PanId
Source§impl TryEncodeTlv for PanId
impl TryEncodeTlv for PanId
Source§fn try_encode_tlv(&self, buffer: &mut [u8]) -> Result<usize, TwineTlvError>
fn try_encode_tlv(&self, buffer: &mut [u8]) -> Result<usize, TwineTlvError>
Encode some data type into the TLV format. Read more
Source§impl TryEncodeTlvValue for PanId
impl TryEncodeTlvValue for PanId
Source§fn try_encode_tlv_value(
&self,
buffer: &mut [u8],
) -> Result<usize, TwineTlvError>
fn try_encode_tlv_value( &self, buffer: &mut [u8], ) -> Result<usize, TwineTlvError>
Encode the value portion of a TLV data type. Read more
impl Copy for PanId
impl Eq for PanId
impl StructuralPartialEq for PanId
impl TlvMetadata for &PanId
impl TlvMetadata for PanId
Auto Trait Implementations§
impl Freeze for PanId
impl RefUnwindSafe for PanId
impl Send for PanId
impl Sync for PanId
impl Unpin for PanId
impl UnsafeUnpin for PanId
impl UnwindSafe for PanId
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