pub enum MessageLevel {
Important,
Extra,
Debug,
Trace,
}Expand description
The level of logging that a message has
Variants§
Important
Messages that should always be displayed
Extra
Messages that can be displayed but are not required
Debug
Debug-level messages. Good for logging but should not be displayed to the user unless they ask
Trace
Very Debug-level messages. Should only be used for logging
Implementations§
Trait Implementations§
Source§impl Clone for MessageLevel
impl Clone for MessageLevel
Source§fn clone(&self) -> MessageLevel
fn clone(&self) -> MessageLevel
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 MessageLevel
impl Debug for MessageLevel
Source§impl<'de> Deserialize<'de> for MessageLevel
impl<'de> Deserialize<'de> for MessageLevel
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 Serialize for MessageLevel
impl Serialize for MessageLevel
impl Copy for MessageLevel
Auto Trait Implementations§
impl Freeze for MessageLevel
impl RefUnwindSafe for MessageLevel
impl Send for MessageLevel
impl Sync for MessageLevel
impl Unpin for MessageLevel
impl UnwindSafe for MessageLevel
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