Enum cexpr::nom::ErrorKind []

pub enum ErrorKind<E = u32> {
    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,
}

indicates which parser returned an error

Variants

Custom(E)TagMapResMapOptAltIsNotIsASeparatedListSeparatedNonEmptyListMany0Many1CountTakeUntilAndConsumeTakeUntilTakeUntilEitherAndConsumeTakeUntilEitherLengthValueTagClosureAlphaDigitHexDigitOctDigitAlphaNumericSpaceMultiSpaceLengthValueFnEofExprOptExprResCondReduceSwitchTagBitsOneOfNoneOfCharCrLfRegexpMatchRegexpMatchesRegexpFindRegexpCaptureRegexpCapturesTakeWhile1CompleteFixEscapedEscapedTransformTagStrIsNotStrIsAStrTakeWhile1StrNonEmptyManyMNTakeUntilAndConsumeStrTakeUntilStr

Methods

impl<E> ErrorKind<E>

fn description(&self) -> &str

Trait Implementations

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

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 for ErrorKind<E> where E: Hash

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

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

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

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 for ErrorKind<E> where E: Debug

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

Formats the value using the given formatter.