pub enum IssueLevel {
Warning,
Error,
Critical,
}Expand description
Token issue severity levels
Categorizes tokenization issues by severity to enable appropriate error handling and recovery strategies.
Variants§
Warning
Warning that doesn’t prevent tokenization
Indicates potential problems that don’t break parsing but may indicate authoring errors or compatibility issues.
Error
Error that may affect parsing
Indicates problems that could cause incorrect parsing but allow tokenization to continue with error recovery.
Critical
Critical error requiring recovery
Indicates severe problems that require special handling to continue tokenization safely.
Implementations§
Trait Implementations§
Source§impl Clone for IssueLevel
impl Clone for IssueLevel
Source§fn clone(&self) -> IssueLevel
fn clone(&self) -> IssueLevel
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 IssueLevel
impl Debug for IssueLevel
Source§impl Hash for IssueLevel
impl Hash for IssueLevel
Source§impl PartialEq for IssueLevel
impl PartialEq for IssueLevel
impl Copy for IssueLevel
impl Eq for IssueLevel
impl StructuralPartialEq for IssueLevel
Auto Trait Implementations§
impl Freeze for IssueLevel
impl RefUnwindSafe for IssueLevel
impl Send for IssueLevel
impl Sync for IssueLevel
impl Unpin for IssueLevel
impl UnwindSafe for IssueLevel
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