Enum tagua_parser::internal::ErrorKind
[−]
[src]
pub enum ErrorKind<E = u32> {
Custom(E),
Tag,
MapRes,
MapOpt,
Alt,
IsNot,
IsA,
SeparatedList,
SeparatedNonEmptyList,
Many0,
Many1,
ManyTill,
Count,
TakeUntilAndConsume,
TakeUntil,
TakeUntilEitherAndConsume,
TakeUntilEither,
LengthValue,
TagClosure,
Alpha,
Digit,
HexDigit,
OctDigit,
AlphaNumeric,
Space,
MultiSpace,
LengthValueFn,
Eof,
ExprOpt,
ExprRes,
CondReduce,
Switch,
TagBits,
OneOf,
NoneOf,
Char,
CrLf,
RegexpMatch,
RegexpMatches,
RegexpFind,
RegexpCapture,
RegexpCaptures,
TakeWhile1,
Complete,
Fix,
Escaped,
EscapedTransform,
TagStr,
IsNotStr,
IsAStr,
TakeWhile1Str,
NonEmpty,
ManyMN,
TakeUntilAndConsumeStr,
TakeUntilStr,
Not,
Permutation,
}indicates which parser returned an error
Variants
Custom(E)TagMapResMapOptAltIsNotIsASeparatedListSeparatedNonEmptyListMany0Many1ManyTillCountTakeUntilAndConsumeTakeUntilTakeUntilEitherAndConsumeTakeUntilEitherLengthValueTagClosureAlphaDigitHexDigitOctDigitAlphaNumericSpaceMultiSpaceLengthValueFnEofExprOptExprResCondReduceSwitchTagBitsOneOfNoneOfCharCrLfRegexpMatchRegexpMatchesRegexpFindRegexpCaptureRegexpCapturesTakeWhile1CompleteFixEscapedEscapedTransformTagStrIsNotStrIsAStrTakeWhile1StrNonEmptyManyMNTakeUntilAndConsumeStrTakeUntilStrNotPermutationMethods
impl<E> ErrorKind<E>
fn description(&self) -> &str
Trait Implementations
impl<E> Hash for ErrorKind<E> where E: Hash
impl<E> PartialEq<ErrorKind<E>> for ErrorKind<E> where E: PartialEq<E>
fn eq(&self, __arg_0: &ErrorKind<E>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ErrorKind<E>) -> bool
This method tests for !=.
impl<E> Debug for ErrorKind<E> where E: Debug
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.