Skip to main content

CacheKey

Trait CacheKey 

Source
pub trait CacheKey {
    // Required method
    fn cache_key(&self, state: &mut dyn Hasher);

    // Provided method
    fn cache_key_hash(&self) -> u64 { ... }
}

Required Methods§

Source

fn cache_key(&self, state: &mut dyn Hasher)

Provided Methods§

Implementors§