[][src]Trait nj_core::log::kv::ToKey

pub trait ToKey {
    pub fn to_key(&self) -> Key<'_>;
}

A type that can be converted into a Key.

Required methods

pub fn to_key(&self) -> Key<'_>[src]

Perform the conversion.

Loading content...

Implementations on Foreign Types

impl<'a> ToKey for Cow<'a, str>[src]

impl ToKey for str[src]

impl ToKey for String[src]

impl<'a, T> ToKey for &'a T where
    T: ToKey + ?Sized
[src]

Loading content...

Implementors

impl<'k> ToKey for Key<'k>[src]

Loading content...