#[non_exhaustive]pub enum ClassicGroupState {
Unknown,
PreparingRebalance,
CompletingRebalance,
Stable,
Dead,
Empty,
}Expand description
The classic group state.
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 classic group state (e.g. a state newer than this client).
PreparingRebalance
The group is preparing to rebalance.
CompletingRebalance
The group is completing a rebalance.
Stable
The group is stable.
Dead
The group is dead.
Empty
The group is empty.
Implementations§
Trait Implementations§
Source§impl Clone for ClassicGroupState
impl Clone for ClassicGroupState
Source§fn clone(&self) -> ClassicGroupState
fn clone(&self) -> ClassicGroupState
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 ClassicGroupState
impl Debug for ClassicGroupState
Source§impl Display for ClassicGroupState
Java’s toString(), which returns the private name field: the text
(PreparingRebalance) the broker sends and ClassicGroupState::parse reads, not
the constant name ClassicGroupState::name returns (the constants of ClassicGroupState).
impl Display for ClassicGroupState
Java’s toString(), which returns the private name field: the text
(PreparingRebalance) the broker sends and ClassicGroupState::parse reads, not
the constant name ClassicGroupState::name returns (the constants of ClassicGroupState).
Source§impl Hash for ClassicGroupState
impl Hash for ClassicGroupState
Source§impl Ord for ClassicGroupState
impl Ord for ClassicGroupState
Source§fn cmp(&self, other: &ClassicGroupState) -> Ordering
fn cmp(&self, other: &ClassicGroupState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ClassicGroupState
impl PartialEq for ClassicGroupState
Source§impl PartialOrd for ClassicGroupState
impl PartialOrd for ClassicGroupState
impl Copy for ClassicGroupState
impl Eq for ClassicGroupState
impl StructuralPartialEq for ClassicGroupState
Auto Trait Implementations§
impl Freeze for ClassicGroupState
impl RefUnwindSafe for ClassicGroupState
impl Send for ClassicGroupState
impl Sync for ClassicGroupState
impl Unpin for ClassicGroupState
impl UnsafeUnpin for ClassicGroupState
impl UnwindSafe for ClassicGroupState
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