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

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

Variants

ParseError
ExpectedError
MissingFieldError
UnknownVariantError
ApplicationError
EOF

Trait Implementations

impl StdError for DecoderError

fn description(&self) -> &str

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

impl Display for DecoderError

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

impl From<ParserError> for DecoderError

fn from(err: ParserError) -> DecoderError

Derived Implementations

impl Debug 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