pub struct GroupMetadata { /* private fields */ }Expand description
A member’s identity and its fencing token, opaque above the seam.
Nothing outside this module reads the fields. They are what
TxnOffsetCommit must carry so the coordinator can reject a commit from a
member that has already been replaced (KIP-447), and under KIP-848 the same
two positions hold a member epoch instead of a generation. A caller that
could name them would be a caller that has to change when the protocol does,
so the only way to get one is to ask a live consumer for it and hand it
straight to a producer.
Implementations§
Trait Implementations§
Source§impl Clone for GroupMetadata
impl Clone for GroupMetadata
Source§fn clone(&self) -> GroupMetadata
fn clone(&self) -> GroupMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GroupMetadata
impl RefUnwindSafe for GroupMetadata
impl Send for GroupMetadata
impl Sync for GroupMetadata
impl Unpin for GroupMetadata
impl UnsafeUnpin for GroupMetadata
impl UnwindSafe for GroupMetadata
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