pub struct LintOutcome {
pub findings: Vec<Finding>,
pub failures: BTreeMap<PathBuf, FailureReason>,
pub exit: Exit,
pub gating: Gating,
}Expand description
Everything one lint-docs run produced.
Fields§
§findings: Vec<Finding>Every finding, sorted by file then by position.
failures: BTreeMap<PathBuf, FailureReason>Files the user named that drep could not analyze.
exit: ExitThe verdict. On the outcome rather than beside it, so the renderer and
the process cannot disagree - the mistake check made and fixed.
gating: GatingWhat the threshold did to these findings.
Here for the same reason exit is: the footer has to say whether the
findings on screen blocked the run, and computing that a second time in
the renderer is the identical mistake one field up. It is not
derivable from exit either - a run with an unreadable file exits
Unanalyzed whether or not its findings also crossed the threshold.
Auto Trait Implementations§
impl Freeze for LintOutcome
impl RefUnwindSafe for LintOutcome
impl Send for LintOutcome
impl Sync for LintOutcome
impl Unpin for LintOutcome
impl UnsafeUnpin for LintOutcome
impl UnwindSafe for LintOutcome
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