pub enum ParserErrorSource {
LexerInput,
Lexer,
DomParser,
SaxParser,
}
Expand description
Enumeration of the various different parser stages that can produce an error
Variants§
LexerInput
The character input stage of the parser
Lexer
The lexing stage of the parser
DomParser
The parsing stage of the DOM parser
SaxParser
The parsing stage of the SAX parser
Trait Implementations§
Source§impl Clone for ParserErrorSource
impl Clone for ParserErrorSource
Source§fn clone(&self) -> ParserErrorSource
fn clone(&self) -> ParserErrorSource
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 ParserErrorSource
impl Debug for ParserErrorSource
Source§impl Display for ParserErrorSource
impl Display for ParserErrorSource
impl Copy for ParserErrorSource
Auto Trait Implementations§
impl Freeze for ParserErrorSource
impl RefUnwindSafe for ParserErrorSource
impl Send for ParserErrorSource
impl Sync for ParserErrorSource
impl Unpin for ParserErrorSource
impl UnwindSafe for ParserErrorSource
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