pub struct WalAppendTelemetry { /* private fields */ }Expand description
Shared authoritative telemetry for WAL append outcomes.
This type stores monotonic append-success and append-failure totals and is
safe to share across threads. Counter updates use saturating semantics at
u64::MAX and never wrap or panic.
Implementations§
Source§impl WalAppendTelemetry
impl WalAppendTelemetry
Sourcepub fn snapshot(&self) -> WalAppendTelemetrySnapshot
pub fn snapshot(&self) -> WalAppendTelemetrySnapshot
Returns a point-in-time snapshot of append outcome totals.
Trait Implementations§
Source§impl Clone for WalAppendTelemetry
impl Clone for WalAppendTelemetry
Source§fn clone(&self) -> WalAppendTelemetry
fn clone(&self) -> WalAppendTelemetry
Returns a duplicate of the value. Read more
1.0.0 · 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 WalAppendTelemetry
impl Debug for WalAppendTelemetry
Auto Trait Implementations§
impl Freeze for WalAppendTelemetry
impl RefUnwindSafe for WalAppendTelemetry
impl Send for WalAppendTelemetry
impl Sync for WalAppendTelemetry
impl Unpin for WalAppendTelemetry
impl UnsafeUnpin for WalAppendTelemetry
impl UnwindSafe for WalAppendTelemetry
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