Trait NDNOutputProcessor

Source
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§