pub struct ReconfigurationLeadership {
pub is_leader: bool,
pub no_pending_change: bool,
pub epoch_committed: bool,
}Expand description
The receiving node’s leadership state for one reconfiguration.
Fields§
§is_leader: boolThe node is the current KRaft leader.
no_pending_change: boolNo earlier voter change is waiting for its record to commit.
epoch_committed: boolThe leader has committed its own epoch, so Kafka’s leader HWM exists.
Trait Implementations§
Source§impl Clone for ReconfigurationLeadership
impl Clone for ReconfigurationLeadership
Source§fn clone(&self) -> ReconfigurationLeadership
fn clone(&self) -> ReconfigurationLeadership
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 moreimpl Copy for ReconfigurationLeadership
Source§impl Debug for ReconfigurationLeadership
impl Debug for ReconfigurationLeadership
impl Eq for ReconfigurationLeadership
impl StructuralPartialEq for ReconfigurationLeadership
Auto Trait Implementations§
impl Freeze for ReconfigurationLeadership
impl RefUnwindSafe for ReconfigurationLeadership
impl Send for ReconfigurationLeadership
impl Sync for ReconfigurationLeadership
impl Unpin for ReconfigurationLeadership
impl UnsafeUnpin for ReconfigurationLeadership
impl UnwindSafe for ReconfigurationLeadership
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