pub enum Severity {
Error,
Warning,
Info,
}Expand description
Diagnostic severity level for a detected anti-pattern.
Variants§
Error
The construct will likely cause a runtime or parse failure.
Warning
The construct works but is fragile or difficult to analyze statically.
Info
The construct is valid but could be improved for readability or tooling support.
Trait Implementations§
impl StructuralPartialEq for Severity
Auto Trait Implementations§
impl Freeze for Severity
impl RefUnwindSafe for Severity
impl Send for Severity
impl Sync for Severity
impl Unpin for Severity
impl UnsafeUnpin for Severity
impl UnwindSafe for Severity
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