Open loewenheim opened 2 days ago
This implements Value for Cow<'a, T> where T: Value.
Value
Cow<'a, T>
T: Value
This is one part of https://github.com/tokio-rs/tracing/issues/726. I also recently ran into this personally when trying to record a field of type Option<Cow<str>>.
Option<Cow<str>>
This implements
Value
forCow<'a, T>
whereT: Value
.Motivation
This is one part of https://github.com/tokio-rs/tracing/issues/726. I also recently ran into this personally when trying to record a field of type
Option<Cow<str>>
.