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

pub enum DecoderError {
    ParseError(ParserError),
    ExpectedError(String, String),
    MissingFieldError(String),
    UnknownVariantError(String),
    ApplicationError(String),
}

Variants

ParseError
ExpectedError
MissingFieldError
UnknownVariantError
ApplicationError

Trait Implementations

impl Error for DecoderError

fn description(&self) -> &str

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

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

Derived Implementations

impl Show for DecoderError

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

impl PartialEq for DecoderError

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

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

impl Clone for DecoderError

fn clone(&self) -> DecoderError

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