pub enum ErrorSeverity {
Debug,
Info,
Warn,
Error,
Critical,
}Expand description
Default severity for logs, metrics, traces, and alert routing.
Variants§
Debug
Diagnostic-only failure.
Info
Informational failure.
Warn
Warning-level failure.
Error
Error-level failure.
Critical
Critical failure requiring immediate attention.
Trait Implementations§
Source§impl Clone for ErrorSeverity
impl Clone for ErrorSeverity
impl Copy for ErrorSeverity
Source§impl Debug for ErrorSeverity
impl Debug for ErrorSeverity
impl Eq for ErrorSeverity
Source§impl Hash for ErrorSeverity
impl Hash for ErrorSeverity
Source§impl Ord for ErrorSeverity
impl Ord for ErrorSeverity
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ErrorSeverity
impl PartialEq for ErrorSeverity
Source§impl PartialOrd for ErrorSeverity
impl PartialOrd for ErrorSeverity
impl StructuralPartialEq for ErrorSeverity
Auto Trait Implementations§
impl Freeze for ErrorSeverity
impl RefUnwindSafe for ErrorSeverity
impl Send for ErrorSeverity
impl Sync for ErrorSeverity
impl Unpin for ErrorSeverity
impl UnsafeUnpin for ErrorSeverity
impl UnwindSafe for ErrorSeverity
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