pub struct GroupConsumerCloseError { /* private fields */ }Expand description
Stable terminal observation failure for one accepted close.
Implementations§
Source§impl GroupConsumerCloseError
impl GroupConsumerCloseError
Sourcepub const fn kind(&self) -> GroupConsumerCloseErrorKind
pub const fn kind(&self) -> GroupConsumerCloseErrorKind
Returns the stable terminal observation failure category.
Sourcepub const fn broker_code(&self) -> Option<i16>
pub const fn broker_code(&self) -> Option<i16>
Returns Kafka’s exact signed LeaveGroup error code when supplied.
Trait Implementations§
Source§impl Clone for GroupConsumerCloseError
impl Clone for GroupConsumerCloseError
impl Copy for GroupConsumerCloseError
Source§impl Debug for GroupConsumerCloseError
impl Debug for GroupConsumerCloseError
Source§impl Display for GroupConsumerCloseError
impl Display for GroupConsumerCloseError
impl Eq for GroupConsumerCloseError
Source§impl Error for GroupConsumerCloseError
impl Error for GroupConsumerCloseError
1.30.0 · 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()
Source§impl PartialEq for GroupConsumerCloseError
impl PartialEq for GroupConsumerCloseError
impl StructuralPartialEq for GroupConsumerCloseError
Auto Trait Implementations§
impl Freeze for GroupConsumerCloseError
impl RefUnwindSafe for GroupConsumerCloseError
impl Send for GroupConsumerCloseError
impl Sync for GroupConsumerCloseError
impl Unpin for GroupConsumerCloseError
impl UnsafeUnpin for GroupConsumerCloseError
impl UnwindSafe for GroupConsumerCloseError
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