Operations

Trait Operations 

Source
pub trait Operations {
    // Provided methods
    fn list_operations(
        &mut self,
        ctx: RpcContext<'_>,
        _req: ListOperationsRequest,
        sink: UnarySink<ListOperationsResponse>,
    ) { ... }
    fn get_operation(
        &mut self,
        ctx: RpcContext<'_>,
        _req: GetOperationRequest,
        sink: UnarySink<Operation>,
    ) { ... }
    fn delete_operation(
        &mut self,
        ctx: RpcContext<'_>,
        _req: DeleteOperationRequest,
        sink: UnarySink<Empty>,
    ) { ... }
    fn cancel_operation(
        &mut self,
        ctx: RpcContext<'_>,
        _req: CancelOperationRequest,
        sink: UnarySink<Empty>,
    ) { ... }
    fn wait_operation(
        &mut self,
        ctx: RpcContext<'_>,
        _req: WaitOperationRequest,
        sink: UnarySink<Operation>,
    ) { ... }
}

Provided Methods§

Implementors§