pub enum Severity {
Help,
Note,
Warning,
Error,
}Expand description
Schweregrad einer Diagnostic. Entspricht den rustc-Standardstufen.
Variants§
Help
Hilfreicher Hinweis (z.B. Vorschlag einer Korrektur).
Note
Kontextuelle Anmerkung zu einer anderen Diagnostik.
Warning
Warnung — Code laeuft, koennte aber problematisch sein.
Error
Fehler — Verarbeitung kann nicht fortgesetzt werden.
Trait Implementations§
Source§impl Ord for Severity
impl Ord for Severity
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Severity
impl PartialOrd for Severity
impl Copy for Severity
impl Eq for Severity
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