pub struct HwmReplica {
pub log_end: i64,
pub in_isr: bool,
pub caught_up_within_lag: bool,
pub eligibility: IsrEligibilityFacts,
}Expand description
One remote replica as Kafka’s Partition.maybeIncrementLeaderHW weighs
it.
Fields§
§log_end: i64Kafka’s ReplicaState.logEndOffset, -1 before the replica fetched from
this leader.
in_isr: boolThe replica is in the leader’s ISR.
caught_up_within_lag: boolThe replica’s last caught-up time is within replica.lag.time.max.ms.
eligibility: IsrEligibilityFactsTrait Implementations§
Source§impl Clone for HwmReplica
impl Clone for HwmReplica
Source§fn clone(&self) -> HwmReplica
fn clone(&self) -> HwmReplica
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 HwmReplica
Source§impl Debug for HwmReplica
impl Debug for HwmReplica
impl Eq for HwmReplica
Source§impl PartialEq for HwmReplica
impl PartialEq for HwmReplica
impl StructuralPartialEq for HwmReplica
Auto Trait Implementations§
impl Freeze for HwmReplica
impl RefUnwindSafe for HwmReplica
impl Send for HwmReplica
impl Sync for HwmReplica
impl Unpin for HwmReplica
impl UnsafeUnpin for HwmReplica
impl UnwindSafe for HwmReplica
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