pub trait CacheKey:
Send
+ Sync
+ Hash
+ Eq
+ Clone
+ 'static {
// Required method
fn to_cache_key(&self) -> String;
}Expand description
Unified cache key trait for all cache types
Required Methods§
fn to_cache_key(&self) -> String
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".