Trait bilibili_api_rs::cache::Cacher
source · pub trait Cacher {
// Provided methods
fn cache_store(&self, _key: &str, _val: &str) { ... }
fn cache_get(&self, _key: &str) -> Option<String> { ... }
}Expand description
Cache interface that crate used.
Note: must implement it with multi-thread safety.