pub enum Level {
Error,
Warning,
}Expand description
Diagnostic severity level
Represents the severity of a diagnostic message. These levels affect both the visual styling (colors, icons) and semantic meaning of the diagnostic.
Variants§
Error
Error level - indicates a compilation/execution failure
Warning
Warning level - indicates a potential problem
Trait Implementations§
Source§impl From<Level> for TitleLevel<'_>
Standard level
impl From<Level> for TitleLevel<'_>
Standard level
impl Copy for Level
impl Eq for Level
impl StructuralPartialEq for Level
Auto Trait Implementations§
impl Freeze for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnwindSafe for Level
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