pub struct CheckSummary {
pub errors: usize,
pub warnings: usize,
pub lints: usize,
pub denied: usize,
pub strict: bool,
pub ok: bool,
pub cached: bool,
pub replayed: usize,
}Fields§
§errors: usize§warnings: usize§lints: usize§denied: usizeHow many of warnings + lints were said under a rule the project set to deny.
A count of levels, so it overlaps those two rather than adding to them.
strict: boolEvery warn counted as deny for this run.
ok: boolWhat the exit code says: no errors and nothing at deny — and under strict,
nothing reported at all.
cached: boolEvery module came from the cache, so no checker was built. The diagnostics are the same either way; this says nothing ran to produce them.
replayed: usizeHow many of files were replayed rather than checked. cached is this reaching
files; between the two you can tell a wholly cached run from a mostly cached one.
Trait Implementations§
Source§impl Debug for CheckSummary
impl Debug for CheckSummary
Auto Trait Implementations§
impl Freeze for CheckSummary
impl RefUnwindSafe for CheckSummary
impl Send for CheckSummary
impl Sync for CheckSummary
impl Unpin for CheckSummary
impl UnsafeUnpin for CheckSummary
impl UnwindSafe for CheckSummary
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more