pub trait ResizableCache {
// Required method
fn resize(&mut self, cap: usize) -> u64;
}Expand description
Implement this trait for Cache to support resize.
pub trait ResizableCache {
// Required method
fn resize(&mut self, cap: usize) -> u64;
}Implement this trait for Cache to support resize.