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

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)