pub struct Check {
pub files: u32,
pub dirs: u32,
pub bad: u32,
pub used: u64,
pub free: u64,
pub free_before: u64,
}Expand description
What Fs::check repaired, and what it found.
Fields§
§files: u32Files reachable from the root.
dirs: u32Directories reachable from the root.
bad: u32Entries whose CRC did not verify. Not repaired - reported, so somebody decides.
used: u64Blocks the rebuilt bitmap says are in use.
free: u64Blocks now free.
free_before: u64What the superblock claimed was free BEFORE the rebuild. Compare it with free: equal means
nothing needed repairing, and different means the count had drifted and now has not.
Trait Implementations§
impl Copy for Check
impl Eq for Check
impl StructuralPartialEq for Check
Auto Trait Implementations§
impl Freeze for Check
impl RefUnwindSafe for Check
impl Send for Check
impl Sync for Check
impl Unpin for Check
impl UnsafeUnpin for Check
impl UnwindSafe for Check
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