pub enum ParseError {
Show 16 variants
UnknownChar(char),
UnclosedComment,
UnclosedString,
UnclosedChar,
InvalidEscapeSequence(char),
ExpectedTopLevelElement(String),
UnknownAnnotation(String),
RedundantAnnotation(String),
MisplacedAnnotation(String),
ExpectedToken(String, String),
ExpectedType(String),
MisplacedElse,
ExpectedFactor(String),
NumberOverflow(String),
UnclosedStringTemplate,
ExpectedIdentifier(String),
}
Variants§
UnknownChar(char)
UnclosedComment
UnclosedString
UnclosedChar
InvalidEscapeSequence(char)
ExpectedTopLevelElement(String)
UnknownAnnotation(String)
RedundantAnnotation(String)
MisplacedAnnotation(String)
ExpectedToken(String, String)
ExpectedType(String)
MisplacedElse
ExpectedFactor(String)
NumberOverflow(String)
UnclosedStringTemplate
ExpectedIdentifier(String)
Implementations§
Trait Implementations§
Source§impl Debug for ParseError
impl Debug for ParseError
Source§impl PartialEq for ParseError
impl PartialEq for ParseError
impl Eq for ParseError
impl StructuralPartialEq for ParseError
Auto Trait Implementations§
impl Freeze for ParseError
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
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