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

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

impl Clone for DecoderError

fn clone(&self) -> DecoderError

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