pub trait CacheTrait:
'static
+ Send
+ Sync
+ Any {
// Required methods
fn update(&mut self);
fn len(&self) -> usize;
}Expand description
A cache, storing some value for some length of time.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".