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

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

Variants

SyntaxError

msg, line, col

IoError

Trait Implementations

impl StdError for ParserError

fn description(&self) -> &str

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

impl Display for ParserError

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

Derived Implementations

impl Debug 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 Clone for ParserError

fn clone(&self) -> ParserError

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