Trait rs_firebase_admin_sdk::auth::token::cache::CacheClient
source · pub trait CacheClient: Sized + Send + Syncwhere
Self::Error: Error + Send + Sync + 'static,{
type Error;
// Required method
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;
}Required Associated Types§
Required Methods§
sourcefn 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,
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