🛈 Note: This is pre-release documentation for the upcoming tracing 0.2.0 ecosystem.

For the release documentation, please see docs.rs, instead.

tracing::field

Function display

Source
pub fn display<T>(t: T) -> DisplayValue<T>
where T: Display,
Expand description

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