Enum parsip::ErrorKind [] [src]

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

indicates which parser returned an error

Variants

Methods

impl<E> ErrorKind<E>
[src]

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<E> Display for ErrorKind<E> where
    E: Debug
[src]

impl<E> Error for ErrorKind<E> where
    E: Any + Debug
[src]

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

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

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<E> Debug for ErrorKind<E> where
    E: Debug
[src]

Formats the value using the given formatter.