pub enum LogLevel {
SuccessEvent,
Info,
Warning,
Error,
UserError,
UserSuccess,
}Expand description
Defines the severity or category of a log message.
Variants§
SuccessEvent
A background success event or system confirmation.
Info
General informational message.
Warning
Warning about a non-fatal issue or unexpected behavior.
Error
Critical or fatal system error.
UserError
An error triggered by invalid user input or actions.
UserSuccess
A success message resulting directly from a user action.
Trait Implementations§
impl Copy for LogLevel
Source§impl<'de> Deserialize<'de> for LogLevel
impl<'de> Deserialize<'de> for LogLevel
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
Auto Trait Implementations§
impl Freeze for LogLevel
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnsafeUnpin for LogLevel
impl UnwindSafe for LogLevel
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