pub struct RefreshReport {
pub tables_scanned: usize,
pub readers_added: usize,
pub readers_removed: usize,
}Expand description
Outcome of a single SSTableManager::refresh_tables call.
Counts reflect what this refresh actually applied under the write guard: two concurrent refreshes serialize, and the second observes the first’s changes already applied (so it reports a zero-delta no-op).
Fields§
§tables_scanned: usizeNumber of distinct logical tables present after the refresh.
readers_added: usizeSSTable generations newly opened and added by this refresh.
readers_removed: usizeSSTable generations dropped by this refresh (no longer on disk).
Trait Implementations§
Source§impl Clone for RefreshReport
impl Clone for RefreshReport
Source§fn clone(&self) -> RefreshReport
fn clone(&self) -> RefreshReport
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 RefreshReport
Source§impl Debug for RefreshReport
impl Debug for RefreshReport
impl Eq for RefreshReport
Source§impl PartialEq for RefreshReport
impl PartialEq for RefreshReport
impl StructuralPartialEq for RefreshReport
Auto Trait Implementations§
impl Freeze for RefreshReport
impl RefUnwindSafe for RefreshReport
impl Send for RefreshReport
impl Sync for RefreshReport
impl Unpin for RefreshReport
impl UnsafeUnpin for RefreshReport
impl UnwindSafe for RefreshReport
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.