Module tracing::field

source ·
Expand description

Structured data associated with Spans and Events.

Structs§

  • A Value which serializes as a string using fmt::Debug.
  • A Value which serializes using fmt::Display.
  • An empty field.
  • An opaque key allowing O(1) access to a field in a Span’s key-value data.
  • Describes the fields present on a span.
  • An iterator over a set of fields.
  • A set of fields and values for a span.

Traits§

  • Trait implemented to allow a type to be used as a field key.
  • A field value of an erased type.
  • Visits typed values.

Functions§

  • Wraps a type implementing fmt::Debug as a Value that can be recorded using its Debug implementation.
  • Wraps a type implementing fmt::Display as a Value that can be recorded using its Display implementation.