Enum nom::ErrorKind [] [src]

pub enum ErrorKind<E = u32> {
    Custom(E),
    Tag,
    MapRes,
    MapOpt,
    Alt,
    IsNot,
    IsA,
    SeparatedList,
    SeparatedNonEmptyList,
    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,
}

indicates which parser returned an error

Variants

Custom
Tag
MapRes
MapOpt
Alt
IsNot
IsA
SeparatedList
SeparatedNonEmptyList
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

Methods

impl<E> ErrorKind<E>

fn description(&self) -> &str

Trait Implementations

Derived Implementations

impl<E: Clone> Clone for ErrorKind<E>

fn clone(&self) -> ErrorKind<E>

1.0.0fn clone_from(&mut self, source: &Self)

impl<E: Hash> Hash for ErrorKind<E>

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl<E: Eq> Eq for ErrorKind<E>

impl<E: PartialEq> PartialEq for ErrorKind<E>

fn eq(&self, __arg_0: &ErrorKind<E>) -> bool

fn ne(&self, __arg_0: &ErrorKind<E>) -> bool

impl<E: Debug> Debug for ErrorKind<E>

fn fmt(&self, __arg_0: &mut Formatter) -> Result