Enum rustc_serialize::json::DecoderError [−][src]
pub enum DecoderError {
ParseError(ParserError),
ExpectedError(String, String),
MissingFieldError(String),
UnknownVariantError(String),
ApplicationError(String),
EOF,
}Variants
ParseError(ParserError)
Tuple Fields
0: ParserErrorExpectedError(String, String)
MissingFieldError(String)
Tuple Fields
0: StringUnknownVariantError(String)
Tuple Fields
0: StringApplicationError(String)
Tuple Fields
0: StringEOF
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
