pub struct FsckReport { /* private fields */ }Expand description
Every finding from one fsck run.
Implementations§
Source§impl FsckReport
impl FsckReport
pub fn findings(&self) -> &[FsckFinding]
Sourcepub fn is_clean(&self) -> bool
pub fn is_clean(&self) -> bool
True when nothing was found. A clean report is the only basis for treating a root as usable.
Sourcepub fn violated_rules(&self) -> BTreeSet<FsckRule>
pub fn violated_rules(&self) -> BTreeSet<FsckRule>
The distinct rules violated, in rule order.
pub fn has_rule(&self, rule: FsckRule) -> bool
Trait Implementations§
Source§impl Clone for FsckReport
impl Clone for FsckReport
Source§fn clone(&self) -> FsckReport
fn clone(&self) -> FsckReport
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 FsckReport
impl Debug for FsckReport
Source§impl Default for FsckReport
impl Default for FsckReport
Source§fn default() -> FsckReport
fn default() -> FsckReport
Returns the “default value” for a type. Read more
impl Eq for FsckReport
Source§impl PartialEq for FsckReport
impl PartialEq for FsckReport
impl StructuralPartialEq for FsckReport
Auto Trait Implementations§
impl Freeze for FsckReport
impl RefUnwindSafe for FsckReport
impl Send for FsckReport
impl Sync for FsckReport
impl Unpin for FsckReport
impl UnsafeUnpin for FsckReport
impl UnwindSafe for FsckReport
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