pub trait TransOutputProcessor: Send + Sync {
    fn get_context<'life0, 'life1, 'async_trait>(
        &'life0 self,
        req: &'life1 TransGetContextOutputRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<TransContext>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; fn put_context<'life0, 'life1, 'async_trait>(
        &'life0 self,
        req: &'life1 TransPutContextOutputRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; fn create_task<'life0, 'life1, 'async_trait>(
        &'life0 self,
        req: &'life1 TransCreateTaskOutputRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<TransCreateTaskOutputResponse>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: '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, 'life1, 'async_trait>(
        &'life0 self,
        req: &'life1 TransQueryTasksOutputRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<TransQueryTasksOutputResponse>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; fn get_task_state<'life0, 'life1, 'async_trait>(
        &'life0 self,
        req: &'life1 TransGetTaskStateOutputRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<TransTaskState>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; fn publish_file<'life0, 'life1, 'async_trait>(
        &'life0 self,
        req: &'life1 TransPublishFileOutputRequest
    ) -> Pin<Box<dyn Future<Output = BuckyResult<TransPublishFileOutputResponse>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait
; }

Required Methods§

source

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

source

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

source

fn create_task<'life0, 'life1, 'async_trait>(
    &'life0 self,
    req: &'life1 TransCreateTaskOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<TransCreateTaskOutputResponse>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
    'life1: '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, 'life1, 'async_trait>(
    &'life0 self,
    req: &'life1 TransQueryTasksOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<TransQueryTasksOutputResponse>> + Send + 'async_trait>>where
    Self: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,

source

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

source

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

Implementors§