pub struct KeyStruct {
pub bitmask: u16,
pub key_type: u8,
pub key: Key,
pub outgoing_frame_counter: u32,
pub incoming_frame_counter: u32,
pub sequence_number: u8,
pub partner: Ieee,
}Expand description
EmberKeyStruct: a key and its counters, from getKey and
getKeyTableEntry (protocol versions before 13).
Fields§
§bitmask: u16crate::ids::key_struct bits: which fields are valid.
key_type: u8§key: KeyThe key.
outgoing_frame_counter: u32Outgoing frame counter.
incoming_frame_counter: u32Incoming frame counter.
sequence_number: u8Key sequence number (network keys).
partner: IeeeThe partner’s IEEE address (link keys).
Implementations§
Trait Implementations§
impl Copy for KeyStruct
impl Eq for KeyStruct
impl StructuralPartialEq for KeyStruct
Auto Trait Implementations§
impl Freeze for KeyStruct
impl RefUnwindSafe for KeyStruct
impl Send for KeyStruct
impl Sync for KeyStruct
impl Unpin for KeyStruct
impl UnsafeUnpin for KeyStruct
impl UnwindSafe for KeyStruct
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