#[non_exhaustive]pub enum GroupType {
Unknown,
Consumer,
Classic,
Share,
Streams,
}Expand description
The type of a group.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
An unrecognized group type (e.g. a type newer than this client).
Consumer
A consumer group using the new (KIP-848) protocol.
Classic
A classic consumer group.
A share group (KIP-932).
Streams
A streams group.
Implementations§
Trait Implementations§
Source§impl Display for GroupType
Java’s toString(), which returns the private name field: the text
(Consumer) the broker sends and GroupType::parse reads, not
the constant name GroupType::name returns (the constants of GroupType).
impl Display for GroupType
Java’s toString(), which returns the private name field: the text
(Consumer) the broker sends and GroupType::parse reads, not
the constant name GroupType::name returns (the constants of GroupType).
Source§impl Ord for GroupType
impl Ord for GroupType
Source§impl PartialOrd for GroupType
impl PartialOrd for GroupType
impl Copy for GroupType
impl Eq for GroupType
impl StructuralPartialEq for GroupType
Auto Trait Implementations§
impl Freeze for GroupType
impl RefUnwindSafe for GroupType
impl Send for GroupType
impl Sync for GroupType
impl Unpin for GroupType
impl UnsafeUnpin for GroupType
impl UnwindSafe for GroupType
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more