Enum error_log::FormatMode
source · pub enum FormatMode {
Normal,
Debug,
PrettyDebug,
}Expand description
How the error should be printed
Variants§
Trait Implementations§
source§impl Clone for FormatMode
impl Clone for FormatMode
source§fn clone(&self) -> FormatMode
fn clone(&self) -> FormatMode
Returns a copy 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 FormatMode
impl Debug for FormatMode
source§impl Default for FormatMode
impl Default for FormatMode
source§fn default() -> FormatMode
fn default() -> FormatMode
Returns the “default value” for a type. Read more
source§impl Ord for FormatMode
impl Ord for FormatMode
source§fn cmp(&self, other: &FormatMode) -> Ordering
fn cmp(&self, other: &FormatMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<FormatMode> for FormatMode
impl PartialEq<FormatMode> for FormatMode
source§fn eq(&self, other: &FormatMode) -> bool
fn eq(&self, other: &FormatMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<FormatMode> for FormatMode
impl PartialOrd<FormatMode> for FormatMode
source§fn partial_cmp(&self, other: &FormatMode) -> Option<Ordering>
fn partial_cmp(&self, other: &FormatMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more