pub enum Outcome {
Failure,
Warning,
Success,
}
Expand description
The overall result of running a single rule or linting a file.
Variants§
Failure
Running the rule resulted in one or more errors. The rule result may have also included warnings or notes.
Warning
Running the rule resulted in one or more warnings. May also include notes.
Success
Running the rule resulted in no errors or warnings.
May include note diagnostics (which are very rare).
Implementations§
Trait Implementations§
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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