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: usize
number of page allocations
page_alloc: usize
total bytes allocated
cursor_count: usize
number of cursors created
node_count: usize
number of node allocations
node_deref: usize
number of node dereferences
rebalance: usize
number of node rebalances
rebalance_time: Duration
total time spent rebalancing
split: usize
number of nodes split
spill: usize
number of nodes spilled
spill_time: Duration
total time spent spilling
write: usize
number of writes performed
write_time: Duration
total 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