Trait tracing_subscriber::field::MakeExt
source · pub trait MakeExt<T>where
Self: MakeVisitor<T> + Sized + Sealed<MakeExtMarker<T>>,{
// Provided methods
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 { ... }
}
Expand description
Extension trait providing MakeVisitor
combinators.
Provided Methods§
sourcefn debug_alt(self) -> Alt<Self>
fn debug_alt(self) -> Alt<Self>
Wraps self
so that any fmt::Debug
fields are recorded using the
alternate formatter ({:#?}
).
sourcefn display_messages(self) -> Messages<Self>
fn display_messages(self) -> Messages<Self>
Wraps self
so that any string fields named “message” are recorded
using fmt::Display
.
Object Safety§
This trait is not object safe.