pub enum ErrorLevel {
Debug,
Info,
Warning,
Error,
Critical,
}
Expand description
Error hook types for centralized error handling
Variants§
Debug
Debug-level errors (for detailed debugging)
Info
Information-level errors (least severe)
Warning
Warning-level errors (moderate severity)
Error
Error-level errors (high severity)
Critical
Critical-level errors (most severe)
Trait Implementations§
Source§impl Clone for ErrorLevel
impl Clone for ErrorLevel
Source§fn clone(&self) -> ErrorLevel
fn clone(&self) -> ErrorLevel
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 ErrorLevel
impl Debug for ErrorLevel
Source§impl PartialEq for ErrorLevel
impl PartialEq for ErrorLevel
impl Copy for ErrorLevel
impl Eq for ErrorLevel
impl StructuralPartialEq for ErrorLevel
Auto Trait Implementations§
impl Freeze for ErrorLevel
impl RefUnwindSafe for ErrorLevel
impl Send for ErrorLevel
impl Sync for ErrorLevel
impl Unpin for ErrorLevel
impl UnwindSafe for ErrorLevel
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