pub struct ShrinkStats {Show 29 fields
pub last_report: AtomicInterval,
pub num_slots_shrunk: AtomicUsize,
pub storage_read_elapsed: AtomicU64,
pub num_duplicated_accounts: AtomicU64,
pub index_read_elapsed: AtomicU64,
pub create_and_insert_store_elapsed: AtomicU64,
pub store_accounts_elapsed: AtomicU64,
pub update_index_elapsed: AtomicU64,
pub handle_reclaims_elapsed: AtomicU64,
pub remove_old_stores_shrink_us: AtomicU64,
pub rewrite_elapsed: AtomicU64,
pub unpackable_slots_count: AtomicU64,
pub newest_alive_packed_count: AtomicU64,
pub drop_storage_entries_elapsed: AtomicU64,
pub accounts_removed: AtomicUsize,
pub bytes_removed: AtomicU64,
pub bytes_written: AtomicU64,
pub skipped_shrink: AtomicU64,
pub dead_accounts: AtomicU64,
pub alive_accounts: AtomicU64,
pub index_scan_returned_none: AtomicU64,
pub index_scan_returned_some: AtomicU64,
pub accounts_loaded: AtomicU64,
pub initial_candidates_count: AtomicU64,
pub purged_zero_lamports: AtomicU64,
pub accounts_not_found_in_index: AtomicU64,
pub num_ancient_slots_shrunk: AtomicU64,
pub ancient_slots_added_to_shrink: AtomicU64,
pub ancient_bytes_added_to_shrink: AtomicU64,
}
Fields§
§last_report: AtomicInterval
§num_slots_shrunk: AtomicUsize
§storage_read_elapsed: AtomicU64
§num_duplicated_accounts: AtomicU64
§index_read_elapsed: AtomicU64
§create_and_insert_store_elapsed: AtomicU64
§store_accounts_elapsed: AtomicU64
§update_index_elapsed: AtomicU64
§handle_reclaims_elapsed: AtomicU64
§remove_old_stores_shrink_us: AtomicU64
§rewrite_elapsed: AtomicU64
§unpackable_slots_count: AtomicU64
§newest_alive_packed_count: AtomicU64
§drop_storage_entries_elapsed: AtomicU64
§accounts_removed: AtomicUsize
§bytes_removed: AtomicU64
§bytes_written: AtomicU64
§skipped_shrink: AtomicU64
§dead_accounts: AtomicU64
§alive_accounts: AtomicU64
§index_scan_returned_none: AtomicU64
§index_scan_returned_some: AtomicU64
§accounts_loaded: AtomicU64
§initial_candidates_count: AtomicU64
§purged_zero_lamports: AtomicU64
§accounts_not_found_in_index: AtomicU64
§num_ancient_slots_shrunk: AtomicU64
§ancient_slots_added_to_shrink: AtomicU64
§ancient_bytes_added_to_shrink: AtomicU64
Implementations§
Source§impl ShrinkStats
impl ShrinkStats
Trait Implementations§
Source§impl Debug for ShrinkStats
impl Debug for ShrinkStats
Source§impl Default for ShrinkStats
impl Default for ShrinkStats
Source§fn default() -> ShrinkStats
fn default() -> ShrinkStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ShrinkStats
impl RefUnwindSafe for ShrinkStats
impl Send for ShrinkStats
impl Sync for ShrinkStats
impl Unpin for ShrinkStats
impl UnwindSafe for ShrinkStats
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more