pub type HyperClient = Client<HttpsConnector<HttpConnector>>;

Trait Implementations§

source§

impl CacheClient for HyperClient

§

type Error = HyperClientError

source§

fn fetch<'life0, 'life1, 'async_trait>( &'life0 self, uri: &'life1 Uri ) -> Pin<Box<dyn Future<Output = Result<Resource, Report<Self::Error>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Simple async interface to fetch data and its TTL for an URI