Skip to main content

FsckResult

Type Alias FsckResult 

Source
pub(crate) type FsckResult = Result<Vec<CheckFinding>>;
Expand description

Like the lints, checks have two levels of errors: the outer Result is for unexpected runtime errors, which stop the check; every problem the check finds in the system is collected as a finding, and the check runs to completion. No findings means the check passed.

Aliased Type§

pub(crate) enum FsckResult {
    Ok(Vec<CheckFinding>),
    Err(Error),
}

Variants§

§1.0.0

Ok(Vec<CheckFinding>)

Contains the success value

§1.0.0

Err(Error)

Contains the error value