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 duplicate 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 for FormatMode
impl PartialEq for FormatMode
Source§impl PartialOrd for FormatMode
impl PartialOrd for FormatMode
impl Eq for FormatMode
impl StructuralPartialEq for FormatMode
Auto Trait Implementations§
impl Freeze for FormatMode
impl RefUnwindSafe for FormatMode
impl Send for FormatMode
impl Sync for FormatMode
impl Unpin for FormatMode
impl UnwindSafe for FormatMode
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