Trait light_cache::refresh::Refresher
source · pub trait Refresher<K, V> {
type Error;
// Required method
fn get(&self, key: K) -> impl Future<Output = Result<V, Self::Error>> + Send;
}Expand description
A Refresher maps a key to a value asynchronously
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.