Struct cyfs_lib::TransRequestor
source · pub struct TransRequestor { /* private fields */ }
Implementations§
source§impl TransRequestor
impl TransRequestor
pub fn new( dec_id: Option<SharedObjectStackDecID>, requestor: HttpRequestorRef ) -> Self
pub fn clone_processor(&self) -> TransOutputProcessorRef
pub async fn get_context( &self, req: TransGetContextOutputRequest ) -> BuckyResult<TransGetContextOutputResponse>
pub async fn put_context( &self, req: TransPutContextOutputRequest ) -> BuckyResult<()>
pub async fn create_task( &self, req: TransCreateTaskOutputRequest ) -> BuckyResult<TransCreateTaskOutputResponse>
pub async fn control_task( &self, req: TransControlTaskOutputRequest ) -> BuckyResult<()>
pub async fn start_task(&self, req: TransTaskOutputRequest) -> BuckyResult<()>
pub async fn stop_task(&self, req: TransTaskOutputRequest) -> BuckyResult<()>
pub async fn delete_task(&self, req: TransTaskOutputRequest) -> BuckyResult<()>
pub async fn get_task_state( &self, req: TransGetTaskStateOutputRequest ) -> BuckyResult<TransGetTaskStateOutputResponse>
pub async fn query_tasks( &self, req: TransQueryTasksOutputRequest ) -> BuckyResult<TransQueryTasksOutputResponse>
pub async fn publish_file( &self, req: TransPublishFileOutputRequest ) -> BuckyResult<TransPublishFileOutputResponse>
pub async fn get_task_group_state( &self, req: TransGetTaskGroupStateOutputRequest ) -> BuckyResult<TransGetTaskGroupStateOutputResponse>
pub async fn control_task_group( &self, req: TransControlTaskGroupOutputRequest ) -> BuckyResult<TransControlTaskGroupOutputResponse>
Trait Implementations§
source§impl Clone for TransRequestor
impl Clone for TransRequestor
source§fn clone(&self) -> TransRequestor
fn clone(&self) -> TransRequestor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more