pub enum ErrorSeverity {
Error,
Warning,
Note,
}
Expand description
Represents the severity level of a diagnostic message
Variants§
Error
A compilation error that prevents successful compilation
Warning
A warning that doesn’t prevent compilation but may indicate issues
Note
An informational note providing additional context
Trait Implementations§
Source§impl Clone for ErrorSeverity
impl Clone for ErrorSeverity
Source§fn clone(&self) -> ErrorSeverity
fn clone(&self) -> ErrorSeverity
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ErrorSeverity
impl RefUnwindSafe for ErrorSeverity
impl Send for ErrorSeverity
impl Sync for ErrorSeverity
impl Unpin for ErrorSeverity
impl UnwindSafe for ErrorSeverity
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