pub struct ForwarderSaveCounters { /* private fields */ }Expand description
Lifetime totals of one forwarder’s saves, shared with the object: take it
with save_counters
before the object joins a database, and read it at any time after. Each
total saturates at u64::MAX.
Implementations§
Source§impl ForwarderSaveCounters
impl ForwarderSaveCounters
Sourcepub fn failed_saves(&self) -> u64
pub fn failed_saves(&self) -> u64
Saves the persistence refused: those for a write, which the write then fails with, and those the operation task makes, which it retries.
Trait Implementations§
Source§impl Clone for ForwarderSaveCounters
impl Clone for ForwarderSaveCounters
Source§impl Debug for ForwarderSaveCounters
impl Debug for ForwarderSaveCounters
Auto Trait Implementations§
impl Freeze for ForwarderSaveCounters
impl RefUnwindSafe for ForwarderSaveCounters
impl Send for ForwarderSaveCounters
impl Sync for ForwarderSaveCounters
impl Unpin for ForwarderSaveCounters
impl UnsafeUnpin for ForwarderSaveCounters
impl UnwindSafe for ForwarderSaveCounters
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