Struct google_cloud_rust_raw::api::servicecontrol::v1::quota_controller_grpc::QuotaControllerClient
source · pub struct QuotaControllerClient { /* private fields */ }Implementations
sourceimpl QuotaControllerClient
impl QuotaControllerClient
pub fn new(channel: Channel) -> Self
pub fn allocate_quota_opt(
&self,
req: &AllocateQuotaRequest,
opt: CallOption
) -> Result<AllocateQuotaResponse>
pub fn allocate_quota(
&self,
req: &AllocateQuotaRequest
) -> Result<AllocateQuotaResponse>
pub fn allocate_quota_async_opt(
&self,
req: &AllocateQuotaRequest,
opt: CallOption
) -> Result<ClientUnaryReceiver<AllocateQuotaResponse>>
pub fn allocate_quota_async(
&self,
req: &AllocateQuotaRequest
) -> Result<ClientUnaryReceiver<AllocateQuotaResponse>>
pub fn spawn<F>(&self, f: F)where
F: Future<Output = ()> + Send + 'static,
Trait Implementations
sourceimpl Clone for QuotaControllerClient
impl Clone for QuotaControllerClient
sourcefn clone(&self) -> QuotaControllerClient
fn clone(&self) -> QuotaControllerClient
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 moreAuto Trait Implementations
impl !RefUnwindSafe for QuotaControllerClient
impl Send for QuotaControllerClient
impl Sync for QuotaControllerClient
impl Unpin for QuotaControllerClient
impl !UnwindSafe for QuotaControllerClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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