pub enum FormatFlavor {
Full,
Compact,
Pretty,
}Expand description
Represents a particular preset of configuration for the
event formatter used by the
formatted Subscriber of the
tracing_subscriber crate.
Variants§
Full
Uses the default Full event formatting.
Compact
Uses the Compact event formatting.
Pretty
Uses the multi-line Pretty event formatting.
Trait Implementations§
Source§impl Clone for FormatFlavor
impl Clone for FormatFlavor
Source§fn clone(&self) -> FormatFlavor
fn clone(&self) -> FormatFlavor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FormatFlavor
Source§impl Debug for FormatFlavor
impl Debug for FormatFlavor
Source§impl Default for FormatFlavor
impl Default for FormatFlavor
Source§fn default() -> Self
fn default() -> Self
Defines a reasonable default FormatFlavor.
Source§impl<'de> Deserialize<'de> for FormatFlavor
impl<'de> Deserialize<'de> for FormatFlavor
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FormatFlavor
Source§impl Hash for FormatFlavor
impl Hash for FormatFlavor
Source§impl Ord for FormatFlavor
impl Ord for FormatFlavor
Source§fn cmp(&self, other: &FormatFlavor) -> Ordering
fn cmp(&self, other: &FormatFlavor) -> Ordering
1.21.0 (const: unstable) · 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 FormatFlavor
impl PartialEq for FormatFlavor
Source§impl PartialOrd for FormatFlavor
impl PartialOrd for FormatFlavor
impl StructuralPartialEq for FormatFlavor
Auto Trait Implementations§
impl Freeze for FormatFlavor
impl RefUnwindSafe for FormatFlavor
impl Send for FormatFlavor
impl Sync for FormatFlavor
impl Unpin for FormatFlavor
impl UnsafeUnpin for FormatFlavor
impl UnwindSafe for FormatFlavor
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