Trait async_cache::Fetcher
source · pub trait Fetcher<T>where
T: Send + Sync + Clone + 'static,{
type Error;
// Required method
fn fetch<'life0, 'async_trait>(
&'life0 self,
key: FastStr
) -> Pin<Box<dyn Future<Output = Result<T>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}