Skip to main content

CacheKey

Trait CacheKey 

Source
pub trait CacheKey:
    Hash
    + Eq
    + Clone
    + Send
    + Sync
    + 'static { }
Expand description

Common bounds for cache keys

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> CacheKey for T
where T: Hash + Eq + Clone + Send + Sync + 'static,