[][src]Trait sqs_lambda::cache::ReadableCache

pub trait ReadableCache<E> where
    E: Debug + Clone + Send + Sync + 'static, 
{ #[must_use] fn get<'life0, 'async_trait, CA: Cacheable + Send + Sync + 'static>(
        &'life0 mut self,
        cacheable: CA
    ) -> Pin<Box<dyn Future<Output = Result<CacheResponse, Error<E>>> + Send + 'async_trait>>
    where
        CA: 'async_trait,
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn get<'life0, 'async_trait, CA: Cacheable + Send + Sync + 'static>(
    &'life0 mut self,
    cacheable: CA
) -> Pin<Box<dyn Future<Output = Result<CacheResponse, Error<E>>> + Send + 'async_trait>> where
    CA: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl<C, E> ReadableCache<E> for C where
    C: Cache<E> + Send + Sync + 'static,
    E: Debug + Clone + Send + Sync + 'static, 
[src]

Loading content...