pub struct TxStats {
pub page_count: usize,
pub page_alloc: usize,
pub cursor_count: usize,
pub node_count: usize,
pub node_deref: usize,
pub rebalance: usize,
pub rebalance_time: Duration,
pub split: usize,
pub spill: usize,
pub spill_time: Duration,
pub write: usize,
pub write_time: Duration,
}Expand description
Transaction statistics
Fields§
§page_count: usizenumber of page allocations
page_alloc: usizetotal bytes allocated
cursor_count: usizenumber of cursors created
node_count: usizenumber of node allocations
node_deref: usizenumber of node dereferences
rebalance: usizenumber of node rebalances
rebalance_time: Durationtotal time spent rebalancing
split: usizenumber of nodes split
spill: usizenumber of nodes spilled
spill_time: Durationtotal time spent spilling
write: usizenumber of writes performed
write_time: Durationtotal time spent writing to disk
Implementations§
Trait Implementations§
Source§impl AddAssign for TxStats
impl AddAssign for TxStats
Source§fn add_assign(&mut self, other: TxStats)
fn add_assign(&mut self, other: TxStats)
Performs the
+= operation. Read moreAuto Trait Implementations§
impl Freeze for TxStats
impl RefUnwindSafe for TxStats
impl Send for TxStats
impl Sync for TxStats
impl Unpin for TxStats
impl UnwindSafe for TxStats
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,
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