You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add conversion from DebugName to Cow<'static, str> (#21257)
# Objective
There seems to be no way to get the underlying `Cow<'static, str>` from
the `DebugName`.
This is useful for me to be able to use `DebugName` and have it interop
seamlessly with the `metrics` crate:
https://docs.rs/metrics/latest/metrics/type.SharedString.html
which is the standard why to register/record metrics in rust.
Is it possible to include this in 0.17?
---------
Co-authored-by: Alice Cecile <[email protected]>
Co-authored-by: Jan Hohenheim <[email protected]>
0 commit comments