pub enum ApplicationUpdate {
NodeInfoReceived {
node: NodeId,
info: NodeInfo,
},
NodeInfoRequestFailed,
SmartStartHomeIdReceived {
nwi_home_id: [u8; 4],
long_range: bool,
info: NodeInfo,
},
SmartStartIncludedNodeInfo {
nwi_home_id: [u8; 4],
},
NodeAdded {
node: NodeId,
},
NodeRemoved {
node: NodeId,
},
SucIdChanged,
Other {
kind: u8,
},
}Expand description
APPLICATION_UPDATE frames.
Variants§
NodeInfoReceived
A node information frame arrived (answer to Request Node Info, or the node sent it).
NodeInfoRequestFailed
Request Node Info failed.
SmartStartHomeIdReceived
A SmartStart node asks to be included.
Fields
SmartStartIncludedNodeInfo
An already included SmartStart node powered up.
NodeAdded
Another controller added a node.
NodeRemoved
Another controller removed a node.
SucIdChanged
The SUC changed.
Other
Anything else.
Implementations§
Trait Implementations§
Source§impl Clone for ApplicationUpdate
impl Clone for ApplicationUpdate
Source§impl Debug for ApplicationUpdate
impl Debug for ApplicationUpdate
impl Eq for ApplicationUpdate
Source§impl PartialEq for ApplicationUpdate
impl PartialEq for ApplicationUpdate
impl StructuralPartialEq for ApplicationUpdate
Auto Trait Implementations§
impl Freeze for ApplicationUpdate
impl RefUnwindSafe for ApplicationUpdate
impl Send for ApplicationUpdate
impl Sync for ApplicationUpdate
impl Unpin for ApplicationUpdate
impl UnsafeUnpin for ApplicationUpdate
impl UnwindSafe for ApplicationUpdate
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