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

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

Variants

ParseError(ParserError)ExpectedError(StringString)MissingFieldError(String)UnknownVariantError(String)ApplicationError(String)EOF

Trait Implementations

impl Debug for DecoderError
[src]

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

Formats the value using the given formatter.

impl PartialEq for DecoderError
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.

impl StdError for DecoderError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

The lower-level cause of this error, if any.

impl Display for DecoderError
[src]

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

Formats the value using the given formatter.

impl From<ParserError> for DecoderError
[src]

fn from(err: ParserError) -> DecoderError

Performs the conversion.