pub enum SafetyState {
Normal,
Warning,
ProtectiveStop,
EmergencyStop,
SafetyInterlock,
ReducedSpeed,
}Expand description
Overall safety state.
Variants§
Normal
Normal operation
Warning
Warning - proceed with caution
ProtectiveStop
Protective stop active
EmergencyStop
Emergency stop active
SafetyInterlock
Safety interlock triggered
ReducedSpeed
Reduced speed mode
Trait Implementations§
Source§impl Clone for SafetyState
impl Clone for SafetyState
Source§fn clone(&self) -> SafetyState
fn clone(&self) -> SafetyState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SafetyState
impl Debug for SafetyState
Source§impl Default for SafetyState
impl Default for SafetyState
Source§fn default() -> SafetyState
fn default() -> SafetyState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SafetyState
impl<'de> Deserialize<'de> for SafetyState
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
Source§impl Hash for SafetyState
impl Hash for SafetyState
Source§impl PartialEq for SafetyState
impl PartialEq for SafetyState
Source§impl Serialize for SafetyState
impl Serialize for SafetyState
impl Copy for SafetyState
impl Eq for SafetyState
impl StructuralPartialEq for SafetyState
Auto Trait Implementations§
impl Freeze for SafetyState
impl RefUnwindSafe for SafetyState
impl Send for SafetyState
impl Sync for SafetyState
impl Unpin for SafetyState
impl UnwindSafe for SafetyState
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.