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