Enum serialize::json::DecoderError [−][src]
pub enum DecoderError { ParseError(ParserError), ExpectedError(String, String), MissingFieldError(String), UnknownVariantError(String), ApplicationError(String), }
Variants
ParseError(ParserError)
ExpectedError(String, String)
MissingFieldError(String)
UnknownVariantError(String)
ApplicationError(String)
Trait Implementations
impl Clone for DecoderError
[src]
impl Clone for DecoderError
fn clone(&self) -> DecoderError
[src]
fn clone(&self) -> DecoderError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for DecoderError
[src]
impl PartialEq for DecoderError
fn eq(&self, other: &DecoderError) -> bool
[src]
fn eq(&self, other: &DecoderError) -> bool
This 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) -> bool
This method tests for !=
.
impl Debug for DecoderError
[src]
impl Debug for DecoderError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for DecoderError
[src]
impl Display for DecoderError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for DecoderError
[src]
impl Error for DecoderError
Auto Trait Implementations
impl Send for DecoderError
impl Send for DecoderError
impl Sync for DecoderError
impl Sync for DecoderError