pub trait CacheStore: Sync + Send {
// Required method
fn get_entry(&self, lang: &str, key: &str) -> Option<CacheEntry>;
}Expand description
A store that maps (Locale, Key) to a CacheEntry.
This trait exists to abstract over the generated phf::Map and standard HashMaps
used in testing.