pub struct SaveReport {
pub kind: SnapshotKind,
pub pages_written: u64,
}Expand description
Save report — emitted after a successful save for tracing / metrics.
Fields§
§kind: SnapshotKindSnapshot kind that produced this save.
pages_written: u64Number of pages written for a Diff snapshot (= 0 for Full, where every page is written via the dense write path).
Trait Implementations§
Source§impl Clone for SaveReport
impl Clone for SaveReport
Source§fn clone(&self) -> SaveReport
fn clone(&self) -> SaveReport
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 SaveReport
impl Debug for SaveReport
Source§impl PartialEq for SaveReport
impl PartialEq for SaveReport
Source§fn eq(&self, other: &SaveReport) -> bool
fn eq(&self, other: &SaveReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SaveReport
impl Eq for SaveReport
impl StructuralPartialEq for SaveReport
Auto Trait Implementations§
impl Freeze for SaveReport
impl RefUnwindSafe for SaveReport
impl Send for SaveReport
impl Sync for SaveReport
impl Unpin for SaveReport
impl UnsafeUnpin for SaveReport
impl UnwindSafe for SaveReport
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