pub async fn new_cache( opts: &CacheConnOptions, model: &Arc<dyn Model>, ) -> Result<Arc<dyn Cache>, Box<dyn StdError>>
To create the database cache with the specified database implementation.