Enum rustc_serialize::json::ParserError [] [src]

pub enum ParserError {
    SyntaxError(ErrorCodeusizeusize),
    IoError(Error),
}

Variants

SyntaxError(ErrorCodeusizeusize)

msg, line, col

IoError(Error)

Trait Implementations

impl Debug for ParserError
[src]

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

Formats the value using the given formatter.

impl PartialEq for ParserError
[src]

fn eq(&self, other: &ParserError) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl StdError for ParserError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

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

impl Display for ParserError
[src]

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

Formats the value using the given formatter.

impl From<Error> for ParserError
[src]

fn from(err: Error) -> ParserError

Performs the conversion.