pub struct ConsumerCommitFailedError { /* private fields */ }Expand description
This error is returned when an offset commit with
Consumer::commit_sync fails with
an unrecoverable error. This error is generated on the client side,
typically when a group rebalance completes before the commit could be
successfully applied. In this case, the commit cannot generally be retried
because some of the partitions may have already been assigned to another
member in the group.
Implementations§
Trait Implementations§
Source§impl Clone for ConsumerCommitFailedError
impl Clone for ConsumerCommitFailedError
Source§fn clone(&self) -> ConsumerCommitFailedError
fn clone(&self) -> ConsumerCommitFailedError
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 ConsumerCommitFailedError
impl Debug for ConsumerCommitFailedError
Source§impl Display for ConsumerCommitFailedError
impl Display for ConsumerCommitFailedError
Source§impl Error for ConsumerCommitFailedError
impl Error for ConsumerCommitFailedError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ConsumerCommitFailedError
impl RefUnwindSafe for ConsumerCommitFailedError
impl Send for ConsumerCommitFailedError
impl Sync for ConsumerCommitFailedError
impl Unpin for ConsumerCommitFailedError
impl UnsafeUnpin for ConsumerCommitFailedError
impl UnwindSafe for ConsumerCommitFailedError
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