pub struct CreatePartitionsResult { /* private fields */ }Expand description
The result of Admin::create_partitions.
Corresponds to org.apache.kafka.clients.admin.CreatePartitionsResult.
Implementations§
Source§impl CreatePartitionsResult
impl CreatePartitionsResult
Sourcepub fn values(&self) -> &HashMap<String, KafkaFuture<()>>
pub fn values(&self) -> &HashMap<String, KafkaFuture<()>>
Return a map from topic names to futures, which can be used to check the status of individual partition creations.
Sourcepub fn all(&self) -> KafkaFuture<()>
pub fn all(&self) -> KafkaFuture<()>
Return a future which succeeds if all the partition creations succeed.
Trait Implementations§
Source§impl Clone for CreatePartitionsResult
impl Clone for CreatePartitionsResult
Source§fn clone(&self) -> CreatePartitionsResult
fn clone(&self) -> CreatePartitionsResult
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 CreatePartitionsResult
impl !RefUnwindSafe for CreatePartitionsResult
impl Send for CreatePartitionsResult
impl Sync for CreatePartitionsResult
impl Unpin for CreatePartitionsResult
impl UnsafeUnpin for CreatePartitionsResult
impl !UnwindSafe for CreatePartitionsResult
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