pub enum CliLevel {
Send,
SendLn,
Info,
Warn,
Error,
Debug,
Trace,
}Expand description
Log levels for CLI output.
Defines the different types of messages that can be logged, from simple output to debug and trace messages.
Variants§
Send
Send output without newline.
SendLn
Send output with newline.
Info
Informational message.
Warn
Warning message.
Error
Error message.
Debug
Debug message (requires log feature).
Trace
Trace message (requires log feature).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CliLevel
impl RefUnwindSafe for CliLevel
impl Send for CliLevel
impl Sync for CliLevel
impl Unpin for CliLevel
impl UnwindSafe for CliLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more