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

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

A type that can be converted into a Key.

Required methods

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

Perform the conversion.

Loading content...

Implementations on Foreign Types

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

impl ToKey for str[src]

impl ToKey for String[src]

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

Loading content...

Implementors

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

Loading content...