Enum rustc_serialize::json::DecoderError [−][src]
pub enum DecoderError {
ParseError(ParserError),
ExpectedError(String, String),
MissingFieldError(String),
UnknownVariantError(String),
ApplicationError(String),
EOF,
}Variants
ParseError(ParserError)ExpectedError(String, String)MissingFieldError(String)UnknownVariantError(String)ApplicationError(String)EOF
Trait Implementations
impl PartialEq for DecoderError[src]
impl PartialEq for DecoderErrorfn eq(&self, other: &DecoderError) -> bool[src]
fn eq(&self, other: &DecoderError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DecoderError) -> bool[src]
fn ne(&self, other: &DecoderError) -> boolThis method tests for !=.
impl Debug for DecoderError[src]
impl Debug for DecoderErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl StdError for DecoderError[src]
impl StdError for DecoderErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&StdError>[src]
fn cause(&self) -> Option<&StdError>The lower-level cause of this error, if any. Read more
impl Display for DecoderError[src]
impl Display for DecoderErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<ParserError> for DecoderError[src]
impl From<ParserError> for DecoderErrorfn from(err: ParserError) -> DecoderError[src]
fn from(err: ParserError) -> DecoderErrorPerforms the conversion.
Auto Trait Implementations
impl Send for DecoderError
impl Send for DecoderErrorimpl Sync for DecoderError
impl Sync for DecoderError