pub struct RepairReport {
pub kind: RepairKind,
pub partition: PartitionId,
pub ranges: Vec<KeyRange>,
pub repaired_watermark: RepairToken,
pub skipped_repaired_ranges: usize,
}Expand description
Report from one repair session run.
Fields§
§kind: RepairKindRepair mode.
partition: PartitionIdPartition repaired.
ranges: Vec<KeyRange>Ranges that need exchange.
repaired_watermark: RepairTokenWatermark after the run.
skipped_repaired_ranges: usizeRanges skipped because incremental repair already covered them.
Implementations§
Source§impl RepairReport
impl RepairReport
Sourcepub fn ranges_exchanged(&self) -> usize
pub fn ranges_exchanged(&self) -> usize
Return the number of ranges exchanged.
Trait Implementations§
Source§impl Clone for RepairReport
impl Clone for RepairReport
Source§fn clone(&self) -> RepairReport
fn clone(&self) -> RepairReport
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 moreSource§impl Debug for RepairReport
impl Debug for RepairReport
Source§impl<'de> Deserialize<'de> for RepairReport
impl<'de> Deserialize<'de> for RepairReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RepairReport
Source§impl PartialEq for RepairReport
impl PartialEq for RepairReport
Source§fn eq(&self, other: &RepairReport) -> bool
fn eq(&self, other: &RepairReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RepairReport
impl Serialize for RepairReport
impl StructuralPartialEq for RepairReport
Auto Trait Implementations§
impl Freeze for RepairReport
impl RefUnwindSafe for RepairReport
impl Send for RepairReport
impl Sync for RepairReport
impl Unpin for RepairReport
impl UnsafeUnpin for RepairReport
impl UnwindSafe for RepairReport
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.