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(E)TagMapResMapOptAltIsNotIsASeparatedListSeparatedNonEmptyListMany1CountTakeUntilAndConsumeTakeUntilTakeUntilEitherAndConsumeTakeUntilEitherLengthValueTagClosureAlphaDigitAlphaNumericSpaceMultiSpaceLengthValueFnEofExprOptExprResCondReduceSwitchTagBitsOneOfNoneOfCharCrLfRegexpMatchRegexpMatchesRegexpFindRegexpCaptureRegexpCapturesTakeWhile1CompleteFixEscapedEscapedTransform

Trait Implementations

impl<E: Clone> Clone for ErrorKind<E>
[src]

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

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl<E: Hash> Hash for ErrorKind<E>
[src]

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

Feeds this value into the state given, updating the hasher as necessary.

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

Feeds a slice of this type into the state provided.

impl<E: Eq> Eq for ErrorKind<E>
[src]

impl<E: PartialEq> PartialEq for ErrorKind<E>
[src]

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> Debug for ErrorKind<E>
[src]

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

Formats the value using the given formatter.