#[repr(u8)]pub enum NmtState {
Bootup = 0,
Stopped = 4,
Operational = 5,
PreOperational = 127,
}Expand description
Possible NMT states for a node
Variants§
Bootup = 0
Bootup
A node never remains in this state, as all nodes should transition automatically into PreOperational
Stopped = 4
Node has been stopped
Operational = 5
Normal operational state
PreOperational = 127
Node is awaiting command to enter operation
Trait Implementations§
impl Copy 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more