pub trait CacheTrait:
'static
+ Send
+ Sync {
// Required methods
fn update(&mut self);
fn len(&self) -> usize;
fn as_any_mut(&mut self) -> &mut dyn Any;
}
pub trait CacheTrait:
'static
+ Send
+ Sync {
// Required methods
fn update(&mut self);
fn len(&self) -> usize;
fn as_any_mut(&mut self) -> &mut dyn Any;
}