pub enum LintSeverity {
Warning,
Notice,
}Expand description
How strongly a lint finding should be read. Never blocking either way — the distinction is tone, not gating (ADR-002: informative only).
Variants§
Warning
A data point that is very likely a mistake (e.g. a unit-conversion mismatch between two fields describing the same physical quantity).
Notice
A softer signal — plausible but worth a second look (e.g. a claim with no supporting field, or a value near a physically wide bound).
Trait Implementations§
Source§impl Clone for LintSeverity
impl Clone for LintSeverity
Source§fn clone(&self) -> LintSeverity
fn clone(&self) -> LintSeverity
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 moreimpl Copy for LintSeverity
Source§impl Debug for LintSeverity
impl Debug for LintSeverity
impl Eq for LintSeverity
Source§impl PartialEq for LintSeverity
impl PartialEq for LintSeverity
impl StructuralPartialEq for LintSeverity
Auto Trait Implementations§
impl Freeze for LintSeverity
impl RefUnwindSafe for LintSeverity
impl Send for LintSeverity
impl Sync for LintSeverity
impl Unpin for LintSeverity
impl UnsafeUnpin for LintSeverity
impl UnwindSafe for LintSeverity
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