Trait graph_core::cache::CacheStore
source · pub trait CacheStore<Value> {
// Required methods
fn store<T: Into<String>>(&mut self, cache_id: T, token: Value);
fn get(&self, cache_id: &str) -> Option<Value>;
fn evict(&self, cache_id: &str) -> Option<Value>;
}
Required Methods§
Object Safety§
This trait is not object safe.