pub struct MountStats {
pub total_entries: u32,
pub total_samples: u32,
pub sealed_sectors: u16,
pub corrupt_entries: u32,
pub scanned_sectors: u16,
}Expand description
Statistics returned after mounting.
Fields§
§total_entries: u32Total entries found during scan.
total_samples: u32Total readable samples found during scan, which exceeds
total_entries by what the log’s
runs hold.
sealed_sectors: u16Number of sealed sectors found.
corrupt_entries: u32Number of corrupt entries skipped.
Only sectors this mount actually read end to end can contribute: a
sector indexed from its SectorFooter is
not re-verified. See MountMode::Full and MountMode::Verify.
scanned_sectors: u16Sector bodies this mount read end to end, rather than indexing from a footer or skipping.
This is the number that says what the footers bought: it is the mount cost that scales with data stored instead of with sector count. On a medium written entirely by this build it is 1 — the sector the last run left active.
Trait Implementations§
Source§impl Clone for MountStats
impl Clone for MountStats
impl Copy for MountStats
Source§impl Debug for MountStats
impl Debug for MountStats
Source§impl Default for MountStats
impl Default for MountStats
Auto Trait Implementations§
impl Freeze for MountStats
impl RefUnwindSafe for MountStats
impl Send for MountStats
impl Sync for MountStats
impl Unpin for MountStats
impl UnsafeUnpin for MountStats
impl UnwindSafe for MountStats
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