pub enum BindParserError {
Show 33 variants
Type(String),
StringLiteral(String),
NumericLiteral(String),
BoolLiteral(String),
Identifier(String),
Semicolon(String),
Assignment(String),
ListStart(String),
ListEnd(String),
ListSeparator(String),
LibraryKeyword(String),
UsingKeyword(String),
AsKeyword(String),
IfBlockStart(String),
IfBlockEnd(String),
IfKeyword(String),
ElseKeyword(String),
ConditionOp(String),
ConditionValue(String),
AcceptKeyword(String),
TrueKeyword(String),
FalseKeyword(String),
NoStatements(String),
NoNodes(String),
Eof(String),
CompositeKeyword(String),
NodeKeyword(String),
PrimaryOrOptionalKeyword(String),
OnePrimaryNode(String),
InvalidNodeName(String),
DuplicateNodeName(String),
UnterminatedComment,
Unknown(String, ErrorKind),
}Variants§
Type(String)
StringLiteral(String)
NumericLiteral(String)
BoolLiteral(String)
Identifier(String)
Semicolon(String)
Assignment(String)
ListStart(String)
ListEnd(String)
ListSeparator(String)
LibraryKeyword(String)
UsingKeyword(String)
AsKeyword(String)
IfBlockStart(String)
IfBlockEnd(String)
IfKeyword(String)
ElseKeyword(String)
ConditionOp(String)
ConditionValue(String)
AcceptKeyword(String)
TrueKeyword(String)
FalseKeyword(String)
NoStatements(String)
NoNodes(String)
Eof(String)
CompositeKeyword(String)
NodeKeyword(String)
PrimaryOrOptionalKeyword(String)
OnePrimaryNode(String)
InvalidNodeName(String)
DuplicateNodeName(String)
UnterminatedComment
Unknown(String, ErrorKind)
Trait Implementations§
Source§impl Clone for BindParserError
impl Clone for BindParserError
Source§fn clone(&self) -> BindParserError
fn clone(&self) -> BindParserError
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 BindParserError
impl Debug for BindParserError
Source§impl Display for BindParserError
impl Display for BindParserError
Source§impl Error for BindParserError
impl Error for BindParserError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl ParseError<LocatedSpan<&str>> for BindParserError
impl ParseError<LocatedSpan<&str>> for BindParserError
Source§fn from_error_kind(input: NomSpan<'_>, kind: ErrorKind) -> Self
fn from_error_kind(input: NomSpan<'_>, kind: ErrorKind) -> Self
Creates an error from the input position and an ErrorKind
Source§fn append(_input: NomSpan<'_>, _kind: ErrorKind, e: Self) -> Self
fn append(_input: NomSpan<'_>, _kind: ErrorKind, e: Self) -> Self
Combines an existing error with a new one created from the input
position and an ErrorKind. This is useful when backtracking
through a parse tree, accumulating error context on the way
Source§impl PartialEq for BindParserError
impl PartialEq for BindParserError
impl StructuralPartialEq for BindParserError
Auto Trait Implementations§
impl Freeze for BindParserError
impl RefUnwindSafe for BindParserError
impl Send for BindParserError
impl Sync for BindParserError
impl Unpin for BindParserError
impl UnwindSafe for BindParserError
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