Trait cyfs_lib::TransOutputProcessor
source · [−]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
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn put_context<'life0, 'life1, 'async_trait>(
&'life0 self,
req: &'life1 TransPutContextOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn control_task<'life0, 'async_trait>(
&'life0 self,
req: TransControlTaskOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
Self: '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
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}
Required Methods
sourcefn get_context<'life0, 'life1, 'async_trait>(
fn get_context<'life0, 'life1, 'async_trait>(
&'life0 self,
req: &'life1 TransGetContextOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<TransContext>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
sourcefn put_context<'life0, '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
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
sourcefn create_task<'life0, '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
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
sourcefn control_task<'life0, 'async_trait>(
fn control_task<'life0, 'async_trait>(
&'life0 self,
req: TransControlTaskOutputRequest
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
sourcefn query_tasks<'life0, 'life1, '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
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
sourcefn get_task_state<'life0, '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
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
sourcefn publish_file<'life0, 'life1, 'async_trait>(