Enum serialize::json::ErrorCode
[−]
[src]
pub enum ErrorCode {
InvalidSyntax,
InvalidNumber,
EOFWhileParsingObject,
EOFWhileParsingArray,
EOFWhileParsingValue,
EOFWhileParsingString,
KeyMustBeAString,
ExpectedColon,
TrailingCharacters,
TrailingComma,
InvalidEscape,
InvalidUnicodeCodePoint,
LoneLeadingSurrogateInHexEscape,
UnexpectedEndOfHexEscape,
UnrecognizedHex,
NotFourDigit,
NotUtf8,
}rustc_private): deprecated in favor of rustc-serialize on crates.io
The errors that can arise while parsing a JSON stream.
Variants
InvalidSyntaxrustc_private): deprecated in favor of rustc-serialize on crates.io
InvalidNumberrustc_private): deprecated in favor of rustc-serialize on crates.io
EOFWhileParsingObjectrustc_private): deprecated in favor of rustc-serialize on crates.io
EOFWhileParsingArrayrustc_private): deprecated in favor of rustc-serialize on crates.io
EOFWhileParsingValuerustc_private): deprecated in favor of rustc-serialize on crates.io
EOFWhileParsingStringrustc_private): deprecated in favor of rustc-serialize on crates.io
KeyMustBeAStringrustc_private): deprecated in favor of rustc-serialize on crates.io
ExpectedColonrustc_private): deprecated in favor of rustc-serialize on crates.io
TrailingCharactersrustc_private): deprecated in favor of rustc-serialize on crates.io
TrailingCommarustc_private): deprecated in favor of rustc-serialize on crates.io
InvalidEscaperustc_private): deprecated in favor of rustc-serialize on crates.io
InvalidUnicodeCodePointrustc_private): deprecated in favor of rustc-serialize on crates.io
LoneLeadingSurrogateInHexEscaperustc_private): deprecated in favor of rustc-serialize on crates.io
UnexpectedEndOfHexEscaperustc_private): deprecated in favor of rustc-serialize on crates.io
UnrecognizedHexrustc_private): deprecated in favor of rustc-serialize on crates.io
NotFourDigitrustc_private): deprecated in favor of rustc-serialize on crates.io
NotUtf8rustc_private): deprecated in favor of rustc-serialize on crates.io
Trait Implementations
impl Display for ErrorCode[src]
Derived Implementations
impl Debug for ErrorCode[src]
impl PartialEq for ErrorCode[src]
fn eq(&self, __arg_0: &ErrorCode) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Copy for ErrorCode[src]
impl Clone for ErrorCode[src]
fn clone(&self) -> ErrorCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more