Enum chomp::ParseError [] [src]

pub enum ParseError<'a, I, E> where I: 'a {
    Error(&'a [I], E),
    Incomplete(usize),
}

Simple error type returned from parse_only.

Variants

Error(&'a [I], E)Incomplete(usize)

Trait Implementations

impl<'a, I: PartialEq, E: PartialEq> PartialEq for ParseError<'a, I, E> where I: 'a
[src]

fn eq(&self, __arg_0: &ParseError<'a, I, E>) -> bool

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

fn ne(&self, __arg_0: &ParseError<'a, I, E>) -> bool

This method tests for !=.

impl<'a, I: Eq, E: Eq> Eq for ParseError<'a, I, E> where I: 'a
[src]

impl<'a, I: Debug, E: Debug> Debug for ParseError<'a, I, E> where I: 'a
[src]

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

Formats the value using the given formatter.