pub struct DeleteRecordsPartitionResult { /* private fields */ }Expand description
Outcome for one partition in a DeleteRecords response.
Implementations§
Source§impl DeleteRecordsPartitionResult
impl DeleteRecordsPartitionResult
Sourcepub fn partition_index(&self) -> i32
pub fn partition_index(&self) -> i32
Returns the partition index.
Sourcepub fn low_watermark(&self) -> i64
pub fn low_watermark(&self) -> i64
Returns the low watermark after deletion.
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Returns whether Kafka accepted this partition deletion.
Sourcepub fn error_code(&self) -> i16
pub fn error_code(&self) -> i16
Returns Kafka’s raw error code, or zero for success.
Sourcepub fn broker_error_kind(&self) -> Option<BrokerErrorKind>
pub fn broker_error_kind(&self) -> Option<BrokerErrorKind>
Returns kafrust’s classification for a non-zero Kafka error code.
Trait Implementations§
Source§impl Clone for DeleteRecordsPartitionResult
impl Clone for DeleteRecordsPartitionResult
Source§fn clone(&self) -> DeleteRecordsPartitionResult
fn clone(&self) -> DeleteRecordsPartitionResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeleteRecordsPartitionResult
Source§impl Debug for DeleteRecordsPartitionResult
impl Debug for DeleteRecordsPartitionResult
impl Eq for DeleteRecordsPartitionResult
impl StructuralPartialEq for DeleteRecordsPartitionResult
Auto Trait Implementations§
impl Freeze for DeleteRecordsPartitionResult
impl RefUnwindSafe for DeleteRecordsPartitionResult
impl Send for DeleteRecordsPartitionResult
impl Sync for DeleteRecordsPartitionResult
impl Unpin for DeleteRecordsPartitionResult
impl UnsafeUnpin for DeleteRecordsPartitionResult
impl UnwindSafe for DeleteRecordsPartitionResult
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