pub enum PanicSeverity {
Low,
Medium,
High,
Critical,
}Expand description
Panic severity levels for classification
Variants§
Low
Low severity panic
Medium
Medium severity panic
High
High severity panic
Critical
Critical severity panic
Trait Implementations§
Source§impl Clone for PanicSeverity
impl Clone for PanicSeverity
Source§fn clone(&self) -> PanicSeverity
fn clone(&self) -> PanicSeverity
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 PanicSeverity
impl Debug for PanicSeverity
Source§impl<'de> Deserialize<'de> for PanicSeverity
impl<'de> Deserialize<'de> for PanicSeverity
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 Ord for PanicSeverity
impl Ord for PanicSeverity
Source§fn cmp(&self, other: &PanicSeverity) -> Ordering
fn cmp(&self, other: &PanicSeverity) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PanicSeverity
impl PartialEq for PanicSeverity
Source§impl PartialOrd for PanicSeverity
impl PartialOrd for PanicSeverity
Source§impl Serialize for PanicSeverity
impl Serialize for PanicSeverity
impl Eq for PanicSeverity
impl StructuralPartialEq for PanicSeverity
Auto Trait Implementations§
impl Freeze for PanicSeverity
impl RefUnwindSafe for PanicSeverity
impl Send for PanicSeverity
impl Sync for PanicSeverity
impl Unpin for PanicSeverity
impl UnsafeUnpin for PanicSeverity
impl UnwindSafe for PanicSeverity
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