Enum format_serde_error::ColoringMode [−][src]
pub enum ColoringMode { AlwaysColor, NeverColor, UseEnvironment, }
Expand description
Different behaviors for the crate to allow overriding the colored output
behaviors. Creating the environment variable NO_COLOR
(value is not
relevant) will disable all coloring. There is also some detection going on
to decide what kind of terminal type is used and if coloring should be used
or not. See colored::control
for more information.
Variants
Output will always use color regardless of environment variable or terminal type.
Output will never use color regardless of environment variable or terminal type.
Set library to automatically detect if output should use color or not.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ColoringMode
impl Send for ColoringMode
impl Sync for ColoringMode
impl Unpin for ColoringMode
impl UnwindSafe for ColoringMode