pub enum Level {
Normal,
Prompt,
Success,
Detail,
Warn,
Error,
}
Expand description
Different output levels supported by the library.
Variants
Normal
Normal logging level.
Prompt
Prompt logging level.
Omitted when stdout is not a TTY.
Success
Detail
Level used for printing formatting that is not critical to the output.
Omitted when stdout is not a TTY.
Warn
Warnings. Printed to stdout.
Error
Errors. Printed to stderr.
Trait Implementations
impl Copy for Level
impl Eq for Level
impl StructuralEq for Level
impl StructuralPartialEq for Level
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.