pub struct RecoveryStats {
pub segment_count: usize,
pub total_records: usize,
pub put_records: usize,
pub delete_records: usize,
pub transactions_started: usize,
pub transactions_committed: usize,
pub transactions_incomplete: usize,
pub checkpoints: usize,
}Expand description
Statistics about the WAL state
Fields§
§segment_count: usizeNumber of segment files
total_records: usizeTotal number of records
put_records: usizeNumber of PUT records
delete_records: usizeNumber of DELETE records
transactions_started: usizeNumber of transactions started
transactions_committed: usizeNumber of transactions committed
transactions_incomplete: usizeNumber of incomplete transactions (started but not committed)
checkpoints: usizeNumber of checkpoint records
Trait Implementations§
Source§impl Clone for RecoveryStats
impl Clone for RecoveryStats
Source§fn clone(&self) -> RecoveryStats
fn clone(&self) -> RecoveryStats
Returns a duplicate of the value. Read more
1.0.0 · 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 RecoveryStats
impl Debug for RecoveryStats
Source§impl Default for RecoveryStats
impl Default for RecoveryStats
Source§fn default() -> RecoveryStats
fn default() -> RecoveryStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RecoveryStats
impl RefUnwindSafe for RecoveryStats
impl Send for RecoveryStats
impl Sync for RecoveryStats
impl Unpin for RecoveryStats
impl UnwindSafe for RecoveryStats
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