Trait robespierre_cache::CommitToCache[][src]

pub trait CommitToCache: Send + Sync {
    fn __commit_to_cache<'life0, 'life1, 'async_trait>(
        &'life0 self,
        cache: &'life1 Cache
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; fn commit_to_cache<'life0, 'async_trait, C: HasCache>(
        self,
        c: &'life0 C
    ) -> Pin<Box<dyn Future<Output = Self> + Send + 'async_trait>>
    where
        Self: Sized,
        C: 'async_trait,
        'life0: 'async_trait,
        Self: 'async_trait
, { ... }
fn commit_to_cache_ref<'life0, 'life1, 'async_trait, C: HasCache>(
        &'life0 self,
        c: &'life1 C
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        C: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
, { ... } }

Required methods

Provided methods

Implementations on Foreign Types

Implementors