pub trait Cache<K, V> { // Required methods fn get(&self, key: &K) -> Option<V>; fn insert(&mut self, key: K, value: V); fn clear(&mut self); }