Enum json::decoder::DecodeError
[−]
[src]
pub enum DecodeError {
EndOfInput,
Expected(&'static str),
MaxRecursion,
IntOverflow,
Unexpected(char),
UnicodeEscape,
Number,
BufferOverflow,
Message(&'static str),
Other(Box<Error + Send + Sync>),
}Variants
EndOfInputThe underlying iterator stopped giving us new values.
Expected(&'static str)An expectation was not met while decoding.
MaxRecursionDuring generic JSON decoding too many nesting levels had
been encountered. See Config for details.
IntOverflowWhen decoding integer values, the actual JSON digits exceeded the possible value range.
Unexpected(char)An unexpected character was encountered.
UnicodeEscapeAn invalid unicode escape sequence was found when decoding a JSON string.
NumberDecoding a numeric value failed.
BufferOverflowA JSON string did not fit into the provided Utf8Buffer.
Message(&'static str)Generic error message.
Other(Box<Error + Send + Sync>)Some other Error trait impl.