pub enum Severity {
Error,
Warning,
}Expand description
How serious a diagnostic is. An error means that the inputs are wrong, and a warning that they were used but something was left out or may not be what was meant.
Variants§
Error
The inputs are wrong, and the run fails.
Warning
The inputs were used, and the run does not fail.
Implementations§
Trait Implementations§
impl Copy for Severity
impl Eq for Severity
impl StructuralPartialEq for Severity
Auto Trait Implementations§
impl Forget for Severity
impl Freeze for Severity
impl Move 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