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.
🛈 Note: This is pre-release documentation
for the upcoming tracing
0.2.0 ecosystem.
For the release documentation, please see docs.rs, instead.
pub fn display<T>(t: T) -> DisplayValue<T>where
T: Display,
Wraps a type implementing fmt::Display
as a Value
that can be
recorded using its Display
implementation.