pub enum MeshEvent {
Unprovisioned {
uuid: [u8; 16],
oob_info: u16,
},
Provisioned {
address: u16,
},
Message {
src: u16,
dst: u16,
opcode: Opcode,
params: Vec<u8>,
},
}Expand description
Something that happened in the mesh.
Variants§
Unprovisioned
An unprovisioned device’s beacon.
Provisioned
We were provisioned (node role).
Message
An access message addressed to us.
Trait Implementations§
impl Eq for MeshEvent
impl StructuralPartialEq for MeshEvent
Auto Trait Implementations§
impl Freeze for MeshEvent
impl RefUnwindSafe for MeshEvent
impl Send for MeshEvent
impl Sync for MeshEvent
impl Unpin for MeshEvent
impl UnsafeUnpin for MeshEvent
impl UnwindSafe for MeshEvent
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