pub enum PanicState {
Normal,
Elevated,
Frozen,
Destroyed,
}Expand description
Panic state
Variants§
Normal
Normal operation
Elevated
Elevated threat level
Frozen
Keys frozen (no new operations)
Destroyed
Keys destroyed (terminal state)
Trait Implementations§
Source§impl Clone for PanicState
impl Clone for PanicState
Source§fn clone(&self) -> PanicState
fn clone(&self) -> PanicState
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 PanicState
impl Debug for PanicState
Source§impl<'de> Deserialize<'de> for PanicState
impl<'de> Deserialize<'de> for PanicState
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 PartialEq for PanicState
impl PartialEq for PanicState
Source§impl Serialize for PanicState
impl Serialize for PanicState
impl Copy for PanicState
impl Eq for PanicState
impl StructuralPartialEq for PanicState
Auto Trait Implementations§
impl Freeze for PanicState
impl RefUnwindSafe for PanicState
impl Send for PanicState
impl Sync for PanicState
impl Unpin for PanicState
impl UnwindSafe for PanicState
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