Trait EntryKey

Source
pub trait EntryKey: Display {
    // Required methods
    fn bytes(&self) -> Vec<u8> ;
    fn from_ivec(value: IVec) -> Self
       where Self: Sized;

    // Provided methods
    fn log_cache(&self) { ... }
    fn log_caching(&self) { ... }
}

Required Methods§

Source

fn bytes(&self) -> Vec<u8>

Source

fn from_ivec(value: IVec) -> Self
where Self: Sized,

Provided Methods§

Implementations on Foreign Types§

Source§

impl EntryKey for String

Source§

fn bytes(&self) -> Vec<u8>

Source§

fn from_ivec(value: IVec) -> Self
where Self: Sized,

Implementors§