pub enum NmtState {
Initialising = 0,
Stopped = 4,
Operational = 5,
PreOperational = 127,
}Expand description
A node’s NMT state.
The discriminant is the value carried in a heartbeat frame (CiA 301
§7.2.8.3). NmtState::Initialising is reported as 0 — the value of a
boot-up message, sent once as the node leaves initialisation.
Variants§
Initialising = 0
Initialising (boot-up); reported as 0.
Stopped = 4
Stopped: only NMT and error-control are active.
Operational = 5
Operational: all communication objects (incl. PDOs) are active.
PreOperational = 127
Pre-operational: SDOs active, PDOs inactive.
Implementations§
Trait Implementations§
impl Copy for NmtState
impl Eq for NmtState
impl StructuralPartialEq for NmtState
Auto Trait Implementations§
impl Freeze for NmtState
impl RefUnwindSafe for NmtState
impl Send for NmtState
impl Sync for NmtState
impl Unpin for NmtState
impl UnsafeUnpin for NmtState
impl UnwindSafe for NmtState
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