pub struct AlterClientQuotasResult { /* private fields */ }Expand description
The result of the Admin::alter_client_quotas call.
Corresponds to org.apache.kafka.clients.admin.AlterClientQuotasResult.
Implementations§
Source§impl AlterClientQuotasResult
impl AlterClientQuotasResult
Sourcepub fn new(futures: HashMap<ClientQuotaEntity, KafkaFuture<()>>) -> Self
pub fn new(futures: HashMap<ClientQuotaEntity, KafkaFuture<()>>) -> Self
Creates a new result from the per-entity alteration futures.
Sourcepub fn values(&self) -> &HashMap<ClientQuotaEntity, KafkaFuture<()>>
pub fn values(&self) -> &HashMap<ClientQuotaEntity, KafkaFuture<()>>
Returns a map from quota entity to a future which can be used to check the status of the operation.
Mirrors AlterClientQuotasResult.values().
Sourcepub fn all(&self) -> KafkaFuture<()>
pub fn all(&self) -> KafkaFuture<()>
Returns a future which succeeds only if all quota alterations succeed.
Mirrors AlterClientQuotasResult.all().
Trait Implementations§
Source§impl Clone for AlterClientQuotasResult
impl Clone for AlterClientQuotasResult
Source§fn clone(&self) -> AlterClientQuotasResult
fn clone(&self) -> AlterClientQuotasResult
Returns a duplicate 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 Freeze for AlterClientQuotasResult
impl !RefUnwindSafe for AlterClientQuotasResult
impl Send for AlterClientQuotasResult
impl Sync for AlterClientQuotasResult
impl Unpin for AlterClientQuotasResult
impl UnsafeUnpin for AlterClientQuotasResult
impl !UnwindSafe for AlterClientQuotasResult
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