pub struct AlterPartitionReassignmentsResult { /* private fields */ }Expand description
Result returned by AdminClient::alter_partition_reassignments.
Implementations§
Source§impl AlterPartitionReassignmentsResult
impl AlterPartitionReassignmentsResult
Sourcepub fn throttle_time(&self) -> Duration
pub fn throttle_time(&self) -> Duration
Returns the broker throttle duration.
Sourcepub fn error_code(&self) -> i16
pub fn error_code(&self) -> i16
Returns Kafka’s top-level error code.
Sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
Returns Kafka’s top-level error message.
Sourcepub fn broker_error_kind(&self) -> Option<BrokerErrorKind>
pub fn broker_error_kind(&self) -> Option<BrokerErrorKind>
Returns kafrust’s top-level broker error classification, when present.
Sourcepub fn topics(&self) -> &[AlterPartitionReassignmentTopicResult]
pub fn topics(&self) -> &[AlterPartitionReassignmentTopicResult]
Returns topic-level partition outcomes.
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Returns whether the request and all returned partition requests succeeded.
Sourcepub fn has_errors(&self) -> bool
pub fn has_errors(&self) -> bool
Returns whether any top-level or partition-level error was reported.
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 (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 AlterPartitionReassignmentsResult
impl StructuralPartialEq for AlterPartitionReassignmentsResult
Auto 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