pub trait NDNOutputProcessor: Sync + Send + 'static {
    // Required methods
    fn put_data<'life0, 'async_trait>(
        &'life0 self,
        req: NDNPutDataOutputRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<NDNPutDataOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_data<'life0, 'async_trait>(
        &'life0 self,
        req: NDNGetDataOutputRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<NDNGetDataOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn put_shared_data<'life0, 'async_trait>(
        &'life0 self,
        req: NDNPutDataOutputRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<NDNPutDataOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_shared_data<'life0, 'async_trait>(
        &'life0 self,
        req: NDNGetDataOutputRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<NDNGetDataOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_data<'life0, 'async_trait>(
        &'life0 self,
        req: NDNDeleteDataOutputRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<NDNDeleteDataOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn query_file<'life0, 'async_trait>(
        &'life0 self,
        req: NDNQueryFileOutputRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<NDNQueryFileOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

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

source

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

source

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

source

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

source

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

source

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

Implementors§