[][src]Trait tracing_subscriber::field::MakeExt

pub trait MakeExt<T> where
    Self: MakeVisitor<T> + Sized,
    Self: Sealed<MakeExtMarker<T>>, 
{ fn debug_alt(self) -> Alt<Self> { ... }
fn display_messages(self) -> Messages<Self> { ... }
fn delimited<D>(self, delimiter: D) -> Delimited<D, Self>
    where
        D: AsRef<str> + Clone,
        Self::Visitor: VisitFmt
, { ... } }

Extension trait providing MakeVisitor combinators.

Provided methods

fn debug_alt(self) -> Alt<Self>

Wraps self so that any fmt::Debug fields are recorded using the alternate formatter ({:#?}).

fn display_messages(self) -> Messages<Self>

Wraps self so that any string fields named "message" are recorded using fmt::Display.

fn delimited<D>(self, delimiter: D) -> Delimited<D, Self> where
    D: AsRef<str> + Clone,
    Self::Visitor: VisitFmt

Wraps self so that when fields are formatted to a writer, they are separated by the provided delimiter.

Loading content...

Implementors

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

Loading content...