pub trait CacheKey:
Clone
+ Eq
+ Hash
+ Send
+ Sync
+ Debug {
// Required methods
fn size(&self) -> usize;
fn table_ref(&self) -> Option<&TableReference>;
}Expand description
Key type for entries stored in a Cache.
Required Methods§
Sourcefn table_ref(&self) -> Option<&TableReference>
fn table_ref(&self) -> Option<&TableReference>
Table this key is associated with, or None if the key is not
table-scoped.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".