pub enum ErrorKind<E = u32> {
Show 55 variants
Custom(E),
Tag,
MapRes,
MapOpt,
Alt,
IsNot,
IsA,
SeparatedList,
SeparatedNonEmptyList,
Many0,
Many1,
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,
}
Expand description
indicates which parser returned an error
Variants§
Custom(E)
Tag
MapRes
MapOpt
Alt
IsNot
IsA
SeparatedList
SeparatedNonEmptyList
Many0
Many1
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
Implementations§
Trait Implementations§
impl<E> Eq for ErrorKind<E>where
E: Eq,
impl<E> StructuralPartialEq for ErrorKind<E>
Auto Trait Implementations§
impl<E> Freeze for ErrorKind<E>where
E: Freeze,
impl<E> RefUnwindSafe for ErrorKind<E>where
E: RefUnwindSafe,
impl<E> Send for ErrorKind<E>where
E: Send,
impl<E> Sync for ErrorKind<E>where
E: Sync,
impl<E> Unpin for ErrorKind<E>where
E: Unpin,
impl<E> UnwindSafe for ErrorKind<E>where
E: UnwindSafe,
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