pub trait NamedObjectRelationCache: Send + Sync {
    // Required methods
    fn put<'life0, 'life1, 'async_trait>(
        &'life0 self,
        req: &'life1 NamedObjectRelationCachePutRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn get<'life0, 'life1, 'async_trait>(
        &'life0 self,
        req: &'life1 NamedObjectRelationCacheGetRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<Option<NamedObjectRelationCacheData>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn put<'life0, 'life1, 'async_trait>( &'life0 self, req: &'life1 NamedObjectRelationCachePutRequest ) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn get<'life0, 'life1, 'async_trait>( &'life0 self, req: &'life1 NamedObjectRelationCacheGetRequest ) -> Pin<Box<dyn Future<Output = BuckyResult<Option<NamedObjectRelationCacheData>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§