pub trait AttributeValue: AttributeValue { }
Expand description

The AttributeValue trait defines what kind of types are supported as attribute values in tracing.

This trait is private and is implemented for only a limited number of types, specifically:

  • Unsigned integers, i.e. u8, u16, etc.
  • Signed integers, i.e. i8, i16, etc.
  • Floating point numbers, i.e. f32 and f64.
  • Strings, i.e. &str and String.
  • Array or slice of one of the types above.

Implementations on Foreign Types

Implementors