pub struct OperationsClient { /* private fields */ }Implementations
sourceimpl 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) where
F: Future<Output = ()> + Send + 'static,
Trait Implementations
sourceimpl Clone for OperationsClient
impl Clone for OperationsClient
sourcefn clone(&self) -> OperationsClient
fn clone(&self) -> OperationsClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl !RefUnwindSafe for OperationsClient
impl Send for OperationsClient
impl Sync for OperationsClient
impl Unpin for OperationsClient
impl !UnwindSafe for OperationsClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more