create_cache

Function create_cache 

Source
pub fn create_cache(config: &CacheConfig) -> PmcCache
Expand description

Create a PmcCache from config.

Falls back to the in-memory backend (with a logged error) when the configured backend cannot be initialised.