pub enum WarningSeverity {
Info,
Warning,
RecoveredError,
}Expand description
Severity level for parse warnings.
Variants§
Info
Informational message (HTML5 quirks mode, etc.).
Warning
Warning (recoverable issue).
RecoveredError
Error that was recovered from.
Trait Implementations§
Source§impl Clone for WarningSeverity
impl Clone for WarningSeverity
Source§fn clone(&self) -> WarningSeverity
fn clone(&self) -> WarningSeverity
Returns a duplicate 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 moreSource§impl Debug for WarningSeverity
impl Debug for WarningSeverity
Source§impl Ord for WarningSeverity
impl Ord for WarningSeverity
Source§fn cmp(&self, other: &WarningSeverity) -> Ordering
fn cmp(&self, other: &WarningSeverity) -> Ordering
1.21.0 · 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 PartialEq for WarningSeverity
impl PartialEq for WarningSeverity
Source§impl PartialOrd for WarningSeverity
impl PartialOrd for WarningSeverity
impl Copy for WarningSeverity
impl Eq for WarningSeverity
impl StructuralPartialEq for WarningSeverity
Auto Trait Implementations§
impl Freeze for WarningSeverity
impl RefUnwindSafe for WarningSeverity
impl Send for WarningSeverity
impl Sync for WarningSeverity
impl Unpin for WarningSeverity
impl UnwindSafe for WarningSeverity
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