Skip to main content

CacheKey

Trait CacheKey 

Source
pub trait CacheKey {
    type ValueType;

    // Required method
    fn key(&self) -> Cow<'_, str>;
}

Required Associated Types§

Required Methods§

Source

fn key(&self) -> Cow<'_, str>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§