pub enum Verbosity {
All = 0,
Standard = 1,
Quiet = 2,
ErrorsOnly = 3,
}Expand description
Used to set the verbosity of a Logger.
§Examples
Setting Logger verbosity:
logger.set_verbosity(Verbosity::Quiet);Variants§
All = 0
Display all logs
Standard = 1
Only filter debug logs
Quiet = 2
Only display errors and warnings
ErrorsOnly = 3
Only display errors
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Verbosity
impl<'de> Deserialize<'de> for Verbosity
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 Verbosity
impl Ord for Verbosity
Source§impl PartialOrd for Verbosity
impl PartialOrd for Verbosity
impl Copy for Verbosity
impl Eq for Verbosity
impl StructuralPartialEq for Verbosity
Auto Trait Implementations§
impl Freeze for Verbosity
impl RefUnwindSafe for Verbosity
impl Send for Verbosity
impl Sync for Verbosity
impl Unpin for Verbosity
impl UnwindSafe for Verbosity
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