pub struct NetworkName(/* private fields */);Expand description
A human readable UTF-8 string to identify the Thread network.
Trait Implementations§
Source§impl Clone for NetworkName
impl Clone for NetworkName
Source§fn clone(&self) -> NetworkName
fn clone(&self) -> NetworkName
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetworkName
impl Debug for NetworkName
Source§impl DecodeTlvUnchecked for NetworkName
impl DecodeTlvUnchecked for NetworkName
Source§impl Default for NetworkName
impl Default for NetworkName
Source§fn default() -> NetworkName
fn default() -> NetworkName
Returns the “default value” for a type. Read more
Source§impl Display for NetworkName
impl Display for NetworkName
Source§impl FromStr for NetworkName
impl FromStr for NetworkName
Source§impl PartialEq for NetworkName
impl PartialEq for NetworkName
Source§impl TlvLength for &NetworkNamewhere
NetworkName: TlvLength,
impl TlvLength for &NetworkNamewhere
NetworkName: TlvLength,
Source§impl TlvLength for NetworkName
impl TlvLength for NetworkName
Source§impl TlvType for &NetworkName
impl TlvType for &NetworkName
Source§impl TryEncodeTlv for NetworkName
impl TryEncodeTlv for NetworkName
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 NetworkName
impl TryEncodeTlvValue for NetworkName
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 NetworkName
impl Eq for NetworkName
impl StructuralPartialEq for NetworkName
impl TlvMetadata for &NetworkName
impl TlvMetadata for NetworkName
Auto Trait Implementations§
impl Freeze for NetworkName
impl RefUnwindSafe for NetworkName
impl Send for NetworkName
impl Sync for NetworkName
impl Unpin for NetworkName
impl UnsafeUnpin for NetworkName
impl UnwindSafe for NetworkName
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