[−][src]Trait sqs_lambda::cache::Cache
Required methods
fn get<'life0, 'async_trait, CA: Cacheable + Send + Sync + 'static>(
&'life0 mut self,
cacheable: CA
) -> Pin<Box<dyn Future<Output = Result<CacheResponse, E>> + Send + 'async_trait>> where
CA: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
cacheable: CA
) -> Pin<Box<dyn Future<Output = Result<CacheResponse, E>> + Send + 'async_trait>> where
CA: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn store<'life0, 'async_trait>(
&'life0 mut self,
identity: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
identity: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl Cache<()> for NopCache
[src]
fn get<'life0, 'async_trait, CA: Cacheable + Send + Sync + 'static>(
&'life0 mut self,
cacheable: CA
) -> Pin<Box<dyn Future<Output = Result<CacheResponse, ()>> + Send + 'async_trait>> where
CA: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
cacheable: CA
) -> Pin<Box<dyn Future<Output = Result<CacheResponse, ()>> + Send + 'async_trait>> where
CA: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn store<'life0, 'async_trait>(
&'life0 mut self,
identity: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<(), ()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
identity: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<(), ()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl Cache<Arc<dyn Error + 'static + Sync + Send>> for RedisCache
[src]
fn get<'life0, 'async_trait, CA>(
&'life0 mut self,
cacheable: CA
) -> Pin<Box<dyn Future<Output = Result<CacheResponse, Arc<dyn Error + Send + Sync + 'static>>> + Send + 'async_trait>> where
CA: Cacheable + Send + Sync + 'static,
CA: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
cacheable: CA
) -> Pin<Box<dyn Future<Output = Result<CacheResponse, Arc<dyn Error + Send + Sync + 'static>>> + Send + 'async_trait>> where
CA: Cacheable + Send + Sync + 'static,
CA: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn store<'life0, 'async_trait>(
&'life0 mut self,
identity: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<(), Arc<dyn Error + Send + Sync + 'static>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
identity: Vec<u8>
) -> Pin<Box<dyn Future<Output = Result<(), Arc<dyn Error + Send + Sync + 'static>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,