pub struct OperationsClient {
pub client: Client,
}Fields§
§client: ClientImplementations§
source§impl OperationsClient
impl OperationsClient
pub fn new(channel: Channel) -> Self
pub fn list_operations_opt( &self, req: &ListOperationsRequest, opt: CallOption ) -> Result<ListOperationsResponse>
pub fn list_operations( &self, req: &ListOperationsRequest ) -> Result<ListOperationsResponse>
pub fn list_operations_async_opt( &self, req: &ListOperationsRequest, opt: CallOption ) -> Result<ClientUnaryReceiver<ListOperationsResponse>>
pub fn list_operations_async( &self, req: &ListOperationsRequest ) -> Result<ClientUnaryReceiver<ListOperationsResponse>>
pub fn get_operation_opt( &self, req: &GetOperationRequest, opt: CallOption ) -> Result<Operation>
pub fn get_operation(&self, req: &GetOperationRequest) -> Result<Operation>
pub fn get_operation_async_opt( &self, req: &GetOperationRequest, opt: CallOption ) -> Result<ClientUnaryReceiver<Operation>>
pub fn get_operation_async( &self, req: &GetOperationRequest ) -> Result<ClientUnaryReceiver<Operation>>
pub fn delete_operation_opt( &self, req: &DeleteOperationRequest, opt: CallOption ) -> Result<Empty>
pub fn delete_operation(&self, req: &DeleteOperationRequest) -> Result<Empty>
pub fn delete_operation_async_opt( &self, req: &DeleteOperationRequest, opt: CallOption ) -> Result<ClientUnaryReceiver<Empty>>
pub fn delete_operation_async( &self, req: &DeleteOperationRequest ) -> Result<ClientUnaryReceiver<Empty>>
pub fn cancel_operation_opt( &self, req: &CancelOperationRequest, opt: CallOption ) -> Result<Empty>
pub fn cancel_operation(&self, req: &CancelOperationRequest) -> Result<Empty>
pub fn cancel_operation_async_opt( &self, req: &CancelOperationRequest, opt: CallOption ) -> Result<ClientUnaryReceiver<Empty>>
pub fn cancel_operation_async( &self, req: &CancelOperationRequest ) -> Result<ClientUnaryReceiver<Empty>>
pub fn wait_operation_opt( &self, req: &WaitOperationRequest, opt: CallOption ) -> Result<Operation>
pub fn wait_operation(&self, req: &WaitOperationRequest) -> Result<Operation>
pub fn wait_operation_async_opt( &self, req: &WaitOperationRequest, opt: CallOption ) -> Result<ClientUnaryReceiver<Operation>>
pub fn wait_operation_async( &self, req: &WaitOperationRequest ) -> Result<ClientUnaryReceiver<Operation>>
pub fn spawn<F>(&self, f: F)
Trait Implementations§
source§impl Clone for OperationsClient
impl Clone for OperationsClient
source§fn clone(&self) -> OperationsClient
fn clone(&self) -> OperationsClient
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for OperationsClient
impl Send for OperationsClient
impl Sync for OperationsClient
impl Unpin for OperationsClient
impl !UnwindSafe for OperationsClient
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more