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

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

A type that can be converted into a Key.

Required methods

fn to_key(&self) -> Key

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...