[−][src]Enum clout::Level
The different levels of importance of a message Also used to determine what level of messages should be displayed
Variants
Display absolutely nothing
Error is for messages indicating that an operation cannot proceed. Styled as bold red.
Warn is for messages indicating that an operation will proceed but may not do what the user wanted. Styled as bold yellow.
Success is for messages indicating a successful operation. Generally should be output whenever Status is being output. Styled as green.
Status is the usual messages that indicate what an operation is doing. Unstyled, uses terminal default color.
Info is for messages that the user might find useful but are not essential. Styled as white (which is often the terminal default, and may not look different to Status)
Debug is for messages that are useful for the developer, or when submitting bug reports, but are not useful for general use. Styled as cyan.
Trace is for messages that indicate at a low level what the operation is doing. Usually too noisy for a bug report, but might be used for debugging. Styled as magenta.
Trait Implementations
impl Clone for Level
[src]
impl Copy for Level
[src]
impl Debug for Level
[src]
impl PartialEq<Level> for Level
[src]
impl PartialOrd<Level> for Level
[src]
fn partial_cmp(&self, other: &Level) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for Level
[src]
Auto Trait Implementations
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnwindSafe for Level
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,