pub enum ColorMode {
Auto,
Always,
Never,
}
Expand description
The color output mode for a ConsoleAppender
Variants§
Auto
Print color only if the output is recognized as a console
Always
Force color output
Never
Never print color
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ColorMode
impl Send for ColorMode
impl Sync for ColorMode
impl Unpin for ColorMode
impl UnwindSafe for ColorMode
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