pub struct Snapshot {
pub acquisitions_total: u64,
pub contention_events_total: u64,
pub renewal_failures_total: u64,
}Expand description
A point-in-time snapshot of every exported counter. Useful in tests and for
the eventual ash-telemetry scrape endpoint.
Fields§
§acquisitions_total: u64ash_lock_acquisitions_total
contention_events_total: u64ash_lock_contention_events_total
renewal_failures_total: u64ash_lock_renewal_failures_total
Trait Implementations§
impl Copy for Snapshot
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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