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

pub enum ParserError {
    SyntaxError(ErrorCode, usize, usize),
    IoError(Error),
}

Variants

SyntaxError

msg, line, col

IoError

Trait Implementations

impl PartialEq for ParserError

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

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

impl StdError for ParserError

fn description(&self) -> &str

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

impl Display for ParserError

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

impl From<Error> for ParserError

fn from(err: Error) -> ParserError

Derived Implementations

impl Debug for ParserError

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