pub struct AlterPartitionReassignmentResult { /* private fields */ }Expand description
Per-partition outcome returned by AlterPartitionReassignments.
Implementations§
Source§impl AlterPartitionReassignmentResult
impl AlterPartitionReassignmentResult
Sourcepub fn partition_index(&self) -> i32
pub fn partition_index(&self) -> i32
Returns the affected partition index.
Sourcepub fn error_code(&self) -> i16
pub fn error_code(&self) -> i16
Returns Kafka’s raw error code.
Sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
Returns Kafka’s error message, when present.
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Returns whether Kafka accepted this partition request.
Sourcepub fn broker_error_kind(&self) -> Option<BrokerErrorKind>
pub fn broker_error_kind(&self) -> Option<BrokerErrorKind>
Returns kafrust’s broker error classification, when present.
Trait Implementations§
Source§impl Clone for AlterPartitionReassignmentResult
impl Clone for AlterPartitionReassignmentResult
Source§fn clone(&self) -> AlterPartitionReassignmentResult
fn clone(&self) -> AlterPartitionReassignmentResult
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 Eq for AlterPartitionReassignmentResult
impl StructuralPartialEq for AlterPartitionReassignmentResult
Auto Trait Implementations§
impl Freeze for AlterPartitionReassignmentResult
impl RefUnwindSafe for AlterPartitionReassignmentResult
impl Send for AlterPartitionReassignmentResult
impl Sync for AlterPartitionReassignmentResult
impl Unpin for AlterPartitionReassignmentResult
impl UnsafeUnpin for AlterPartitionReassignmentResult
impl UnwindSafe for AlterPartitionReassignmentResult
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