pub enum ConsumerGroupError {
GroupExists,
NoGroup(String),
NoRing,
}Expand description
Errors returned by ConsumerGroupManager operations.
Variants§
GroupExists
Attempted to create a group whose name is already taken.
NoGroup(String)
Referenced a group name that does not exist.
NoRing
The backing CDC ring buffer is unavailable.
Trait Implementations§
Source§impl Debug for ConsumerGroupError
impl Debug for ConsumerGroupError
Source§impl Display for ConsumerGroupError
impl Display for ConsumerGroupError
Source§impl Error for ConsumerGroupError
impl Error for ConsumerGroupError
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()
Auto Trait Implementations§
impl Freeze for ConsumerGroupError
impl RefUnwindSafe for ConsumerGroupError
impl Send for ConsumerGroupError
impl Sync for ConsumerGroupError
impl Unpin for ConsumerGroupError
impl UnsafeUnpin for ConsumerGroupError
impl UnwindSafe for ConsumerGroupError
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