Struct tracing_subscriber::fmt::format::PrettyFields[][src]

pub struct PrettyFields { /* fields omitted */ }
This is supported on crate feature fmt only.

An excessively pretty, human-readable MakeVisitor implementation.

Implementations

impl PrettyFields[src]

pub fn new() -> Self[src]

Returns a new default PrettyFields implementation.

pub fn with_ansi(self, ansi: bool) -> Self[src]

Enable ANSI encoding for formatted fields.

Trait Implementations

impl Debug for PrettyFields[src]

impl Default for PrettyFields[src]

impl<'a> MakeVisitor<&'a mut (dyn Write + 'a)> for PrettyFields[src]

type Visitor = PrettyVisitor<'a>

The visitor type produced by this MakeVisitor.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, M> MakeExt<T> for M where
    M: MakeVisitor<T> + Sealed<MakeExtMarker<T>>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.