Enum parse_result::Error [] [src]

pub enum Error<E, P> {
    OriginalErr(E),
    ParseFailure(P),
}

Represents the possible errors from calling parse on Result.

Variants

A pre-existing Err from before attempting to parse.

An Err generated as a result from parsing.

Trait Implementations

impl<E: Debug, P: Debug> Debug for Error<E, P>
[src]

Formats the value using the given formatter.

impl<E: PartialEq, P: PartialEq> PartialEq for Error<E, P>
[src]

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

This method tests for !=.

impl<E: Eq, P: Eq> Eq for Error<E, P>
[src]

impl<E, P> StdError for Error<E, P> where
    E: StdError,
    P: StdError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl<E, P> Display for Error<E, P> where
    E: Display,
    P: Display
[src]

Formats the value using the given formatter. Read more