pub struct DrainReport {
pub flushed: u64,
pub abandoned: u64,
}Expand description
What a full-pool drain accomplished.
Fields§
§flushed: u64Batches durably written over the pool’s lifetime.
abandoned: u64Batches abandoned (failed acknowledgements; replay after restart).
Trait Implementations§
Source§impl Clone for DrainReport
impl Clone for DrainReport
Source§fn clone(&self) -> DrainReport
fn clone(&self) -> DrainReport
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 DrainReport
impl Debug for DrainReport
Source§impl Default for DrainReport
impl Default for DrainReport
Source§fn default() -> DrainReport
fn default() -> DrainReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for DrainReport
impl PartialEq for DrainReport
Source§fn eq(&self, other: &DrainReport) -> bool
fn eq(&self, other: &DrainReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DrainReport
impl Eq for DrainReport
impl StructuralPartialEq for DrainReport
Auto Trait Implementations§
impl Freeze for DrainReport
impl RefUnwindSafe for DrainReport
impl Send for DrainReport
impl Sync for DrainReport
impl Unpin for DrainReport
impl UnsafeUnpin for DrainReport
impl UnwindSafe for DrainReport
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more