Enum rune::ParseErrorKind [−][src]
pub enum ParseErrorKind {}Show 22 variants
Custom { message: &'static str, }, ResolveError { error: ResolveErrorKind, }, ExpectedEof { actual: Kind, }, UnexpectedEof, BadLexerMode { actual: LexerMode, expected: LexerMode, }, Expected { actual: &'static str, expected: &'static str, }, Unsupported { what: &'static str, }, ExpectedEscape, UnterminatedStrLit, UnterminatedByteStrLit, UnterminatedCharLit, UnterminatedByteLit, ExpectedCharClose, ExpectedCharOrLabel, ExpectedByteClose, UnexpectedChar { c: char, }, PrecedenceGroupRequired, BadNumberOutOfBounds, BadFieldAccess, ExpectedMacroCloseDelimiter { expected: Kind, actual: Kind, }, BadNumber, MultipleMatchingAttributes { name: &'static str, },
Expand description
Error when parsing.
Variants
Fields of Custom
message: &'static str
Fields of ResolveError
error: ResolveErrorKind
Fields of ExpectedEof
actual: Kind
Fields of Unsupported
what: &'static str
Fields of UnexpectedChar
c: char
Fields of MultipleMatchingAttributes
name: &'static str
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl UnwindSafe for ParseErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more