pub struct TxnStatsSnapshot {
pub n_begins: u64,
pub n_commits: u64,
pub n_aborts: u64,
pub n_active: u64,
}Expand description
Snapshot of transaction manager statistics.
Fields§
§n_begins: u64§n_commits: u64§n_aborts: u64§n_active: u64Trait Implementations§
Source§impl Clone for TxnStatsSnapshot
impl Clone for TxnStatsSnapshot
Source§fn clone(&self) -> TxnStatsSnapshot
fn clone(&self) -> TxnStatsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TxnStatsSnapshot
impl Debug for TxnStatsSnapshot
Source§impl Default for TxnStatsSnapshot
impl Default for TxnStatsSnapshot
Source§fn default() -> TxnStatsSnapshot
fn default() -> TxnStatsSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TxnStatsSnapshot
impl RefUnwindSafe for TxnStatsSnapshot
impl Send for TxnStatsSnapshot
impl Sync for TxnStatsSnapshot
impl Unpin for TxnStatsSnapshot
impl UnsafeUnpin for TxnStatsSnapshot
impl UnwindSafe for TxnStatsSnapshot
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