pub struct AlterPartitionReassignmentsResult { /* private fields */ }Expand description
The result of Admin::alter_partition_reassignments.
Corresponds to
org.apache.kafka.clients.admin.AlterPartitionReassignmentsResult.
Implementations§
Source§impl AlterPartitionReassignmentsResult
impl AlterPartitionReassignmentsResult
Sourcepub fn values(&self) -> &HashMap<TopicPartition, KafkaFuture<()>>
pub fn values(&self) -> &HashMap<TopicPartition, KafkaFuture<()>>
Return a map from partitions to futures which can be used to check the status of the reassignment.
Mirrors values().
Sourcepub fn all(&self) -> KafkaFuture<()>
pub fn all(&self) -> KafkaFuture<()>
Return a future which succeeds only if all the reassignments were successfully initiated.
Mirrors all().
Trait Implementations§
Source§impl Clone for AlterPartitionReassignmentsResult
impl Clone for AlterPartitionReassignmentsResult
Source§fn clone(&self) -> AlterPartitionReassignmentsResult
fn clone(&self) -> AlterPartitionReassignmentsResult
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 AlterPartitionReassignmentsResult
impl !RefUnwindSafe for AlterPartitionReassignmentsResult
impl Send for AlterPartitionReassignmentsResult
impl Sync for AlterPartitionReassignmentsResult
impl Unpin for AlterPartitionReassignmentsResult
impl UnsafeUnpin for AlterPartitionReassignmentsResult
impl !UnwindSafe for AlterPartitionReassignmentsResult
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