pub struct BackendLockTimes {
pub wait_ns: u64,
pub hold_ns: u64,
pub hold_max_ns: u64,
}Expand description
Cumulative backend database-lock timings, summed over every shard.
Fields§
§wait_ns: u64Nanoseconds spent waiting to acquire the lock.
hold_ns: u64Nanoseconds the lock was held.
hold_max_ns: u64Longest single hold, in nanoseconds.
Trait Implementations§
Source§impl Clone for BackendLockTimes
impl Clone for BackendLockTimes
impl Copy for BackendLockTimes
Source§impl Debug for BackendLockTimes
impl Debug for BackendLockTimes
Source§impl Default for BackendLockTimes
impl Default for BackendLockTimes
impl Eq for BackendLockTimes
Source§impl PartialEq for BackendLockTimes
impl PartialEq for BackendLockTimes
impl StructuralPartialEq for BackendLockTimes
Auto Trait Implementations§
impl Freeze for BackendLockTimes
impl RefUnwindSafe for BackendLockTimes
impl Send for BackendLockTimes
impl Sync for BackendLockTimes
impl Unpin for BackendLockTimes
impl UnsafeUnpin for BackendLockTimes
impl UnwindSafe for BackendLockTimes
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.