Enum RiskStopState
pub enum RiskStopState {
Normal,
SoftThrottle,
DailyHardStop,
MonthlyStop,
PermanentShutdown,
}Expand description
Risk stop state (§8.13).
Variants§
Trait Implementations§
§impl Clone for RiskStopState
impl Clone for RiskStopState
§fn clone(&self) -> RiskStopState
fn clone(&self) -> RiskStopState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for RiskStopState
impl Debug for RiskStopState
§impl<'de> Deserialize<'de> for RiskStopState
impl<'de> Deserialize<'de> for RiskStopState
§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 Hash for RiskStopState
impl Hash for RiskStopState
§impl PartialEq for RiskStopState
impl PartialEq for RiskStopState
§impl Serialize for RiskStopState
impl Serialize for RiskStopState
impl Copy for RiskStopState
impl Eq for RiskStopState
impl StructuralPartialEq for RiskStopState
Auto Trait Implementations§
impl Freeze for RiskStopState
impl RefUnwindSafe for RiskStopState
impl Send for RiskStopState
impl Sync for RiskStopState
impl Unpin for RiskStopState
impl UnsafeUnpin for RiskStopState
impl UnwindSafe for RiskStopState
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)