pub struct FormatSpanFromFields<N> { /* private fields */ }
Expand description

An adaptor for Formatters from tracing_subscriber::fmt::format as a FormatSpan.

Uses FormattedFields to store the details attachement, so it might reuse an existing extension for logging, to save some work visiting the recorded fields.

Trait Implementations

Find the details in the extensions of a span that will be recorded with the event.

Called when a span is constructed, with its initial attributes. Read more

Called when a span records some values. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.