Trait TransOutputProcessor

Source
pub trait TransOutputProcessor: Send + Sync {
    // Required methods
    fn get_context<'life0, 'async_trait>(
        &'life0 self,
        req: TransGetContextOutputRequest,
    ) -> Pin<Box<dyn Future<Output = BuckyResult<TransGetContextOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn put_context<'life0, 'async_trait>(
        &'life0 self,
        req: TransPutContextOutputRequest,
    ) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn create_task<'life0, 'async_trait>(
        &'life0 self,
        req: TransCreateTaskOutputRequest,
    ) -> Pin<Box<dyn Future<Output = BuckyResult<TransCreateTaskOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn control_task<'life0, 'async_trait>(
        &'life0 self,
        req: TransControlTaskOutputRequest,
    ) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn query_tasks<'life0, 'async_trait>(
        &'life0 self,
        req: TransQueryTasksOutputRequest,
    ) -> Pin<Box<dyn Future<Output = BuckyResult<TransQueryTasksOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_task_state<'life0, 'async_trait>(
        &'life0 self,
        req: TransGetTaskStateOutputRequest,
    ) -> Pin<Box<dyn Future<Output = BuckyResult<TransGetTaskStateOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn publish_file<'life0, 'async_trait>(
        &'life0 self,
        req: TransPublishFileOutputRequest,
    ) -> Pin<Box<dyn Future<Output = BuckyResult<TransPublishFileOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_task_group_state<'life0, 'async_trait>(
        &'life0 self,
        req: TransGetTaskGroupStateOutputRequest,
    ) -> Pin<Box<dyn Future<Output = BuckyResult<TransGetTaskGroupStateOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn control_task_group<'life0, 'async_trait>(
        &'life0 self,
        req: TransControlTaskGroupOutputRequest,
    ) -> Pin<Box<dyn Future<Output = BuckyResult<TransControlTaskGroupOutputResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Implementors§