Trait ToKey
log::kv
pub trait ToKey { fn to_key(&self) -> Key<'_>; }
A type that can be converted into a Key.
Key
fn to_key(&self) -> Key<'_>
Perform the conversion.
impl ToKey for str
impl<'a, T: ?Sized> ToKey for &'a T where T: ToKey,
impl<'k> ToKey for Key<'k>