pub enum Beacon {
Unprovisioned {
uuid: [u8; 16],
oob_info: u16,
uri_hash: Option<[u8; 4]>,
},
SecureNetwork {
flags: u8,
network_id: [u8; 8],
iv_index: u32,
auth: [u8; 8],
},
}Expand description
A Mesh beacon.
Variants§
Unprovisioned
A device waiting to be provisioned.
Fields
SecureNetwork
A network’s key refresh and IV index state.
Implementations§
Source§impl Beacon
impl Beacon
Trait Implementations§
impl Eq for Beacon
impl StructuralPartialEq for Beacon
Auto Trait Implementations§
impl Freeze for Beacon
impl RefUnwindSafe for Beacon
impl Send for Beacon
impl Sync for Beacon
impl Unpin for Beacon
impl UnsafeUnpin for Beacon
impl UnwindSafe for Beacon
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