pub struct PrettyFields { /* private fields */ }Expand description
An excessively pretty, human-readable MakeVisitor implementation.
Implementations§
Source§impl PrettyFields
impl PrettyFields
Trait Implementations§
Source§impl Debug for PrettyFields
impl Debug for PrettyFields
Source§impl Default for PrettyFields
impl Default for PrettyFields
Source§impl<'a> MakeVisitor<Writer<'a>> for PrettyFields
impl<'a> MakeVisitor<Writer<'a>> for PrettyFields
Source§type Visitor = PrettyVisitor<'a>
type Visitor = PrettyVisitor<'a>
The visitor type produced by this
MakeVisitor.Source§fn make_visitor(&self, target: Writer<'a>) -> Self::Visitor
fn make_visitor(&self, target: Writer<'a>) -> Self::Visitor
Make a new visitor for the provided
target.Auto Trait Implementations§
impl Freeze for PrettyFields
impl RefUnwindSafe for PrettyFields
impl Send for PrettyFields
impl Sync for PrettyFields
impl Unpin for PrettyFields
impl UnsafeUnpin for PrettyFields
impl UnwindSafe for PrettyFields
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
Source§impl<'writer, M> FormatFields<'writer> for Mwhere
M: MakeOutput<Writer<'writer>, Result<(), Error>>,
<M as MakeVisitor<Writer<'writer>>>::Visitor: VisitFmt + VisitOutput<Result<(), Error>>,
impl<'writer, M> FormatFields<'writer> for Mwhere
M: MakeOutput<Writer<'writer>, Result<(), Error>>,
<M as MakeVisitor<Writer<'writer>>>::Visitor: VisitFmt + VisitOutput<Result<(), Error>>,
Source§fn format_fields<R>(
&self,
writer: Writer<'writer>,
fields: R,
) -> Result<(), Error>where
R: RecordFields,
fn format_fields<R>(
&self,
writer: Writer<'writer>,
fields: R,
) -> Result<(), Error>where
R: RecordFields,
Format the provided
fields to the provided Writer, returning a result.Source§fn add_fields(
&self,
current: &'writer mut FormattedFields<Self>,
fields: &Record<'_>,
) -> Result
fn add_fields( &self, current: &'writer mut FormattedFields<Self>, fields: &Record<'_>, ) -> Result
Record additional field(s) on an existing span. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T, M> MakeExt<T> for Mwhere
M: MakeVisitor<T> + Sealed<MakeExtMarker<T>>,
impl<T, M> MakeExt<T> for Mwhere
M: MakeVisitor<T> + Sealed<MakeExtMarker<T>>,
Source§impl<T, Out, M> MakeOutput<T, Out> for M
impl<T, Out, M> MakeOutput<T, Out> for M
Source§fn visit_with<F>(&self, target: T, fields: &F) -> Outwhere
F: RecordFields,
fn visit_with<F>(&self, target: T, fields: &F) -> Outwhere
F: RecordFields,
Visits all fields in
fields with a new visitor constructed from
target.