pub enum ControlMode {
Running,
Paused,
Stopped,
EmergencyStopped,
}Expand description
Operating mode set by a control command.
Variants§
Running
Normal operation.
Paused
No new evaluations or dispatches.
Stopped
Terminal stop.
EmergencyStopped
Immediate stop that also revokes providers.
Trait Implementations§
Source§impl Clone for ControlMode
impl Clone for ControlMode
Source§fn clone(&self) -> ControlMode
fn clone(&self) -> ControlMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControlMode
Source§impl Debug for ControlMode
impl Debug for ControlMode
Source§impl<'de> Deserialize<'de> for ControlMode
impl<'de> Deserialize<'de> for ControlMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ControlMode
Source§impl PartialEq for ControlMode
impl PartialEq for ControlMode
Source§impl Serialize for ControlMode
impl Serialize for ControlMode
impl StructuralPartialEq for ControlMode
Auto Trait Implementations§
impl Freeze for ControlMode
impl RefUnwindSafe for ControlMode
impl Send for ControlMode
impl Sync for ControlMode
impl Unpin for ControlMode
impl UnsafeUnpin for ControlMode
impl UnwindSafe for ControlMode
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