Enum rustc_serialize::json::DecoderError [−][src]
pub enum DecoderError {
ParseError(ParserError),
ExpectedError(String, String),
MissingFieldError(String),
UnknownVariantError(String),
ApplicationError(String),
}Variants
ParseError(ParserError)Tuple Fields of ParseError
0: ParserErrorMissingFieldError(String)Tuple Fields of MissingFieldError
0: StringUnknownVariantError(String)Tuple Fields of UnknownVariantError
0: StringApplicationError(String)Tuple Fields of ApplicationError
0: StringTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DecoderError
impl Send for DecoderError
impl Sync for DecoderError
impl Unpin for DecoderError
impl UnwindSafe for DecoderError
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes
Size for each variant:
ParseError: 32 bytesExpectedError: 48 bytesMissingFieldError: 24 bytesUnknownVariantError: 24 bytesApplicationError: 24 bytes