pub enum Event {
ConnectionStatus(ConnectionStatusEnum),
NetworkFaultChange {
current: Vec<NetworkFaultEnum, 4>,
previous: Vec<NetworkFaultEnum, 4>,
},
}Expand description
One of §11.14.8’s events, as the Thread stack noticed it.
The cluster collects these and the device drains them into its own event store, because the store belongs to the node and not to any one cluster.
Variants§
ConnectionStatus(ConnectionStatusEnum)
§11.14.8.1 ConnectionStatus, on every transition between connected and not.
NetworkFaultChange
§11.14.8.2 NetworkFaultChange, carrying both sides of the change.
Fields
§
current: Vec<NetworkFaultEnum, 4>Current — the faults detected now.
§
previous: Vec<NetworkFaultEnum, 4>Previous — the faults detected before this change.
Implementations§
Trait Implementations§
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Forget for Event
impl Freeze for Event
impl Move for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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