pub struct LockContentionStats {
pub count: u64,
pub total_wait_ns: u64,
pub max_wait_ns: u64,
pub min_wait_ns: u64,
}Expand description
Statistics for lock contention
Fields§
§count: u64§total_wait_ns: u64§max_wait_ns: u64§min_wait_ns: u64Trait Implementations§
Source§impl Clone for LockContentionStats
impl Clone for LockContentionStats
Source§fn clone(&self) -> LockContentionStats
fn clone(&self) -> LockContentionStats
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 LockContentionStats
impl Debug for LockContentionStats
Source§impl Default for LockContentionStats
impl Default for LockContentionStats
Source§impl<'de> Deserialize<'de> for LockContentionStats
impl<'de> Deserialize<'de> for LockContentionStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LockContentionStats
impl RefUnwindSafe for LockContentionStats
impl Send for LockContentionStats
impl Sync for LockContentionStats
impl Unpin for LockContentionStats
impl UnsafeUnpin for LockContentionStats
impl UnwindSafe for LockContentionStats
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