pub struct NetworkKey(/* private fields */);Expand description
A Thread Network Key
Implementations§
Source§impl NetworkKey
impl NetworkKey
Trait Implementations§
Source§impl AsMut<[u8]> for NetworkKey
impl AsMut<[u8]> for NetworkKey
Source§impl AsRef<[u8]> for NetworkKey
impl AsRef<[u8]> for NetworkKey
Source§impl Clone for NetworkKey
impl Clone for NetworkKey
Source§fn clone(&self) -> NetworkKey
fn clone(&self) -> NetworkKey
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 NetworkKey
impl Debug for NetworkKey
Source§impl DecodeTlvUnchecked for NetworkKey
impl DecodeTlvUnchecked for NetworkKey
Source§impl DecodeTlvValueUnchecked for NetworkKey
impl DecodeTlvValueUnchecked for NetworkKey
Source§impl Display for NetworkKey
impl Display for NetworkKey
Source§impl From<NetworkKey> for Vec<u8>
Available on crate features alloc only.
impl From<NetworkKey> for Vec<u8>
Available on crate features
alloc only.Source§fn from(value: NetworkKey) -> Self
fn from(value: NetworkKey) -> Self
Converts to this type from the input type.
Source§impl From<u128> for NetworkKey
impl From<u128> for NetworkKey
Source§impl FromStr for NetworkKey
impl FromStr for NetworkKey
Source§impl PartialEq for NetworkKey
impl PartialEq for NetworkKey
Source§impl TlvConstantMetadata for &NetworkKeywhere
NetworkKey: TlvConstantMetadata,
impl TlvConstantMetadata for &NetworkKeywhere
NetworkKey: TlvConstantMetadata,
Source§impl TlvConstantMetadata for NetworkKey
impl TlvConstantMetadata for NetworkKey
Source§impl TlvLength for &NetworkKey
impl TlvLength for &NetworkKey
Source§impl TlvLength for NetworkKey
impl TlvLength for NetworkKey
Source§impl TlvType for &NetworkKey
impl TlvType for &NetworkKey
Source§impl TryEncodeTlv for NetworkKey
impl TryEncodeTlv for NetworkKey
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 NetworkKey
impl TryEncodeTlvValue for NetworkKey
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 NetworkKey
impl Eq for NetworkKey
impl StructuralPartialEq for NetworkKey
impl TlvMetadata for &NetworkKey
impl TlvMetadata for NetworkKey
Auto Trait Implementations§
impl Freeze for NetworkKey
impl RefUnwindSafe for NetworkKey
impl Send for NetworkKey
impl Sync for NetworkKey
impl Unpin for NetworkKey
impl UnsafeUnpin for NetworkKey
impl UnwindSafe for NetworkKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)