Enum miette::Severity [−][src]
pub enum Severity {
Error,
Warning,
Advice,
}Expand description
Diagnostic severity. Intended to be used by DiagnosticReporter to change the way different Diagnostics are displayed.
Variants
Critical failure. The program cannot continue.
Warning. Please take note.
Just some help. Here’s how you could be doing it better.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Severity
impl UnwindSafe for Severity
Blanket Implementations
Mutably borrows from an owned value. Read more