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,
    AlphaNumeric,
    Space,
    MultiSpace,
    LengthValueFn,
    Eof,
    ExprOpt,
    ExprRes,
    CondReduce,
    Switch,
    TagBits,
    OneOf,
    NoneOf,
    Char,
    CrLf,
    RegexpMatch,
    RegexpMatches,
    RegexpFind,
    RegexpCapture,
    RegexpCaptures,
    TakeWhile1,
    Complete,
    Fix,
    Escaped,
    EscapedTransform,
}

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
AlphaNumeric
Space
MultiSpace
LengthValueFn
Eof
ExprOpt
ExprRes
CondReduce
Switch
TagBits
OneOf
NoneOf
Char
CrLf
RegexpMatch
RegexpMatches
RegexpFind
RegexpCapture
RegexpCaptures
TakeWhile1
Complete
Fix
Escaped
EscapedTransform

Trait Implementations

Derived Implementations

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

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

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

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

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

fn 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