pub struct Delimited<D, V> { /* private fields */ }Expand description
A MakeVisitor wrapper that wraps a visitor that writes formatted output so
that a delimiter is inserted between writing formatted field values.
Implementations§
Trait Implementations§
Source§impl<D, V, T> MakeVisitor<T> for Delimited<D, V>
impl<D, V, T> MakeVisitor<T> for Delimited<D, V>
Source§type Visitor = VisitDelimited<D, <V as MakeVisitor<T>>::Visitor>
type Visitor = VisitDelimited<D, <V as MakeVisitor<T>>::Visitor>
The visitor type produced by this
MakeVisitor.Source§fn make_visitor(&self, target: T) -> Self::Visitor
fn make_visitor(&self, target: T) -> Self::Visitor
Make a new visitor for the provided
target.Auto Trait Implementations§
impl<D, V> Freeze for Delimited<D, V>
impl<D, V> RefUnwindSafe for Delimited<D, V>where
D: RefUnwindSafe,
V: RefUnwindSafe,
impl<D, V> Send for Delimited<D, V>
impl<D, V> Sync for Delimited<D, V>
impl<D, V> Unpin for Delimited<D, V>
impl<D, V> UnsafeUnpin for Delimited<D, V>where
D: UnsafeUnpin,
V: UnsafeUnpin,
impl<D, V> UnwindSafe for Delimited<D, V>where
D: UnwindSafe,
V: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.