pub struct FeatureUpdateResult { /* private fields */ }Expand description
Outcome for one feature in an UpdateFeatures response.
Implementations§
Source§impl FeatureUpdateResult
impl FeatureUpdateResult
Sourcepub fn error_code(&self) -> i16
pub fn error_code(&self) -> i16
Returns the feature-level Kafka error code.
Sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
Returns the feature-level Kafka error message, when present.
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Returns whether Kafka accepted this feature update.
Trait Implementations§
Source§impl Clone for FeatureUpdateResult
impl Clone for FeatureUpdateResult
Source§fn clone(&self) -> FeatureUpdateResult
fn clone(&self) -> FeatureUpdateResult
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 moreSource§impl Debug for FeatureUpdateResult
impl Debug for FeatureUpdateResult
impl Eq for FeatureUpdateResult
Source§impl PartialEq for FeatureUpdateResult
impl PartialEq for FeatureUpdateResult
impl StructuralPartialEq for FeatureUpdateResult
Auto Trait Implementations§
impl Freeze for FeatureUpdateResult
impl RefUnwindSafe for FeatureUpdateResult
impl Send for FeatureUpdateResult
impl Sync for FeatureUpdateResult
impl Unpin for FeatureUpdateResult
impl UnsafeUnpin for FeatureUpdateResult
impl UnwindSafe for FeatureUpdateResult
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