[][src]Trait twilight_cache_trait::UpdateCache

pub trait UpdateCache<T: Cache, Err> {
#[must_use]    fn update<'life0, 'life1, 'async_trait>(
        &'life0 self,
        item: &'life1 T
    ) -> Pin<Box<dyn Future<Output = Result<(), Err>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn update<'life0, 'life1, 'async_trait>(
    &'life0 self,
    item: &'life1 T
) -> Pin<Box<dyn Future<Output = Result<(), Err>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

Loading content...