pub struct BleBroadcastState {
pub key: BroadcastKey,
pub gsn: u16,
}Expand description
Broadcast-notification material for one accessory, persistable by the caller.
Holds a secret (BroadcastKey is zeroized on drop).
Fields§
§key: BroadcastKeyThe broadcast decryption key.
gsn: u16The last Global State Number observed/decrypted (0 when freshly minted).
Trait Implementations§
Source§impl Clone for BleBroadcastState
impl Clone for BleBroadcastState
Source§fn clone(&self) -> BleBroadcastState
fn clone(&self) -> BleBroadcastState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BleBroadcastState
impl RefUnwindSafe for BleBroadcastState
impl Send for BleBroadcastState
impl Sync for BleBroadcastState
impl Unpin for BleBroadcastState
impl UnsafeUnpin for BleBroadcastState
impl UnwindSafe for BleBroadcastState
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