pub struct DeleteTopicResult { /* private fields */ }Expand description
Outcome for one topic in a DeleteTopics response.
Implementations§
Source§impl DeleteTopicResult
impl DeleteTopicResult
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Returns whether Kafka accepted the topic 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 DeleteTopicResult
impl Clone for DeleteTopicResult
Source§fn clone(&self) -> DeleteTopicResult
fn clone(&self) -> DeleteTopicResult
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 DeleteTopicResult
impl Debug for DeleteTopicResult
impl Eq for DeleteTopicResult
Source§impl PartialEq for DeleteTopicResult
impl PartialEq for DeleteTopicResult
impl StructuralPartialEq for DeleteTopicResult
Auto Trait Implementations§
impl Freeze for DeleteTopicResult
impl RefUnwindSafe for DeleteTopicResult
impl Send for DeleteTopicResult
impl Sync for DeleteTopicResult
impl Unpin for DeleteTopicResult
impl UnsafeUnpin for DeleteTopicResult
impl UnwindSafe for DeleteTopicResult
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