pub enum ErrorKind {
Show 53 variants
Tag,
MapRes,
MapOpt,
Alt,
IsNot,
IsA,
SeparatedList,
SeparatedNonEmptyList,
Many0,
Many1,
ManyTill,
Count,
TakeUntil,
LengthValue,
TagClosure,
Alpha,
Digit,
HexDigit,
OctDigit,
AlphaNumeric,
Space,
MultiSpace,
LengthValueFn,
Eof,
Switch,
TagBits,
OneOf,
NoneOf,
Char,
CrLf,
RegexpMatch,
RegexpMatches,
RegexpFind,
RegexpCapture,
RegexpCaptures,
TakeWhile1,
Complete,
Fix,
Escaped,
EscapedTransform,
NonEmpty,
ManyMN,
Not,
Permutation,
Verify,
TakeTill1,
TakeWhileMN,
TooLarge,
Many0Count,
Many1Count,
Float,
Satisfy,
Fail,
}
Expand description
Indicates which parser returned an error
Variants§
Tag
MapRes
MapOpt
Alt
IsNot
IsA
SeparatedList
SeparatedNonEmptyList
Many0
Many1
ManyTill
Count
TakeUntil
LengthValue
TagClosure
Alpha
Digit
HexDigit
OctDigit
AlphaNumeric
Space
MultiSpace
LengthValueFn
Eof
Switch
TagBits
OneOf
NoneOf
Char
CrLf
RegexpMatch
RegexpMatches
RegexpFind
RegexpCapture
RegexpCaptures
TakeWhile1
Complete
Fix
Escaped
EscapedTransform
NonEmpty
ManyMN
Not
Permutation
Verify
TakeTill1
TakeWhileMN
TooLarge
Many0Count
Many1Count
Float
Satisfy
Fail
Implementations§
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)