pub struct RecoveryCandidate {
pub last_epoch: i32,
pub log_end_offset: i64,
pub broker_id: u64,
}Expand description
One surviving replica’s log as KIP-966 unclean recovery ranks it, from its
GetReplicaLogInfo answer.
Fields§
§last_epoch: i32The leader epoch of the last record the replica wrote.
log_end_offset: i64The offset one past the replica’s last record.
broker_id: u64The replica’s broker id, which breaks a tie deterministically.
Trait Implementations§
Source§impl Clone for RecoveryCandidate
impl Clone for RecoveryCandidate
Source§fn clone(&self) -> RecoveryCandidate
fn clone(&self) -> RecoveryCandidate
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 RecoveryCandidate
Source§impl Debug for RecoveryCandidate
impl Debug for RecoveryCandidate
impl Eq for RecoveryCandidate
Source§impl PartialEq for RecoveryCandidate
impl PartialEq for RecoveryCandidate
impl StructuralPartialEq for RecoveryCandidate
Auto Trait Implementations§
impl Freeze for RecoveryCandidate
impl RefUnwindSafe for RecoveryCandidate
impl Send for RecoveryCandidate
impl Sync for RecoveryCandidate
impl Unpin for RecoveryCandidate
impl UnsafeUnpin for RecoveryCandidate
impl UnwindSafe for RecoveryCandidate
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