pub struct ErrorClassification {
pub retriable: bool,
pub fatal: bool,
pub transaction_abort_required: bool,
}Expand description
Operational classification for a client error.
Fields§
§retriable: boolThe same operation may succeed if retried after backoff or metadata refresh.
fatal: boolThe client instance, producer id, or transaction is no longer usable.
transaction_abort_required: boolA transactional producer must abort the current transaction before more work.
Trait Implementations§
Source§impl Clone for ErrorClassification
impl Clone for ErrorClassification
Source§fn clone(&self) -> ErrorClassification
fn clone(&self) -> ErrorClassification
Returns a duplicate of the value. Read more
1.0.0 · 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 ErrorClassification
impl Debug for ErrorClassification
Source§impl Default for ErrorClassification
impl Default for ErrorClassification
Source§fn default() -> ErrorClassification
fn default() -> ErrorClassification
Returns the “default value” for a type. Read more
Source§impl PartialEq for ErrorClassification
impl PartialEq for ErrorClassification
impl Copy for ErrorClassification
impl Eq for ErrorClassification
impl StructuralPartialEq for ErrorClassification
Auto Trait Implementations§
impl Freeze for ErrorClassification
impl RefUnwindSafe for ErrorClassification
impl Send for ErrorClassification
impl Sync for ErrorClassification
impl Unpin for ErrorClassification
impl UnsafeUnpin for ErrorClassification
impl UnwindSafe for ErrorClassification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.