Enum rustc-serialize::json::ParserError [-]  [+] [src]

pub enum ParserError {
    SyntaxError(ErrorCode, usize, usize),
    IoError(IoErrorKind, &'static str),
}

Variants

SyntaxError

msg, line, col

IoError

Trait Implementations

impl StdError for ParserError

fn description(&self) -> &str

fn detail(&self) -> Option<String>

fn cause(&self) -> Option<&Error + 'static>

Derived Implementations

impl Show for ParserError

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

impl PartialEq for ParserError

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

fn ne(&self, __arg_0: &ParserError) -> bool

impl Copy for ParserError

impl Clone for ParserError

fn clone(&self) -> ParserError

fn clone_from(&mut self, source: &Self)