pub struct NetworkMaterial {
pub nid: u8,
pub encryption_key: Key,
pub privacy_key: Key,
}Expand description
What k2 derives from a network key: NID, EncryptionKey and PrivacyKey.
Fields§
§nid: u8The 7-bit network identifier in each Network PDU.
encryption_key: KeyThe network encryption key.
privacy_key: KeyThe network privacy key (obfuscation).
Trait Implementations§
Source§impl Clone for NetworkMaterial
impl Clone for NetworkMaterial
impl Copy for NetworkMaterial
Source§impl Debug for NetworkMaterial
impl Debug for NetworkMaterial
impl Eq for NetworkMaterial
Source§impl PartialEq for NetworkMaterial
impl PartialEq for NetworkMaterial
impl StructuralPartialEq for NetworkMaterial
Auto Trait Implementations§
impl Freeze for NetworkMaterial
impl RefUnwindSafe for NetworkMaterial
impl Send for NetworkMaterial
impl Sync for NetworkMaterial
impl Unpin for NetworkMaterial
impl UnsafeUnpin for NetworkMaterial
impl UnwindSafe for NetworkMaterial
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