pub enum SafetyZone {
Safe,
Caution,
Danger,
}Expand description
Domain-agnostic safety zone classification.
Variants§
Safe
Comfortable headroom — all margins well above thresholds.
Caution
Caution warranted — some margins approaching thresholds.
Danger
Near constraint boundary — action is risky.
Trait Implementations§
Source§impl Clone for SafetyZone
impl Clone for SafetyZone
Source§fn clone(&self) -> SafetyZone
fn clone(&self) -> SafetyZone
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 SafetyZone
impl Debug for SafetyZone
Source§impl<'de> Deserialize<'de> for SafetyZone
impl<'de> Deserialize<'de> for SafetyZone
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 SafetyZone
impl Hash for SafetyZone
Source§impl PartialEq for SafetyZone
impl PartialEq for SafetyZone
Source§impl Serialize for SafetyZone
impl Serialize for SafetyZone
impl Copy for SafetyZone
impl Eq for SafetyZone
impl StructuralPartialEq for SafetyZone
Auto Trait Implementations§
impl Freeze for SafetyZone
impl RefUnwindSafe for SafetyZone
impl Send for SafetyZone
impl Sync for SafetyZone
impl Unpin for SafetyZone
impl UnsafeUnpin for SafetyZone
impl UnwindSafe for SafetyZone
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