pub struct TxStats { /* private fields */ }Expand description
Stats for the transaction
Implementations§
Source§impl TxStats
impl TxStats
Sourcepub fn page_alloc(&self) -> i64
pub fn page_alloc(&self) -> i64
total bytes allocated
Sourcepub fn page_count(&self) -> i64
pub fn page_count(&self) -> i64
number of page allocations
Sourcepub fn cursor_count(&self) -> i64
pub fn cursor_count(&self) -> i64
number of cursors created
Sourcepub fn node_count(&self) -> i64
pub fn node_count(&self) -> i64
number of node allocations
Sourcepub fn node_deref(&self) -> i64
pub fn node_deref(&self) -> i64
number of node dereferences
Sourcepub fn rebalance_time(&self) -> Duration
pub fn rebalance_time(&self) -> Duration
total time spent rebalancing
Sourcepub fn spill_time(&self) -> Duration
pub fn spill_time(&self) -> Duration
total time spent spilling
Sourcepub fn write_time(&self) -> Duration
pub fn write_time(&self) -> Duration
total time spent writing to disk
Trait Implementations§
impl Eq for TxStats
Auto 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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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