pub trait NamedObjectCacheSyncServer: Sync + Send {
    fn get_latest_seq<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = BuckyResult<u64>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn list_objects<'life0, 'async_trait>(
        &'life0 self,
        begin_seq: u64,
        end_seq: u64,
        page_index: u16,
        page_size: u16
    ) -> Pin<Box<dyn Future<Output = BuckyResult<Vec<SyncObjectData>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn get_objects<'life0, 'life1, 'async_trait>(
        &'life0 self,
        begin_seq: u64,
        end_seq: u64,
        list: &'life1 Vec<ObjectId>
    ) -> Pin<Box<dyn Future<Output = BuckyResult<Vec<ObjectCacheData>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required Methods

Implementors