pub struct ZWaveKey {
pub home_id: u32,
pub node_a: u8,
pub node_b: u8,
}Expand description
Z-Wave conversation key based on home ID and node pair.
Uses canonical ordering: the smaller node ID is always node_a.
This ensures that both directions of a Z-Wave conversation hash
to the same key.
Fields§
§home_id: u32Z-Wave network home ID.
node_a: u8The smaller node ID.
node_b: u8The larger node ID.
Implementations§
Trait Implementations§
impl Eq for ZWaveKey
impl StructuralPartialEq for ZWaveKey
Auto Trait Implementations§
impl Freeze for ZWaveKey
impl RefUnwindSafe for ZWaveKey
impl Send for ZWaveKey
impl Sync for ZWaveKey
impl Unpin for ZWaveKey
impl UnsafeUnpin for ZWaveKey
impl UnwindSafe for ZWaveKey
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