pub trait CloneCached<K, V> {
// Required method
fn cache_get_expired<Q>(&mut self, _key: &Q) -> (Option<V>, bool)
where K: Borrow<Q>,
Q: Hash + Eq + ?Sized;
}
Expand description
Extra cache operations for types that implement Clone
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.