Enum json::decoder::DecodeError
[−]
[src]
pub enum DecodeError { EndOfInput, Expected(&'static str), MaxRecursion, IntOverflow, Unexpected(char), UnicodeEscape, Number, BufferOverflow, }
Variants
EndOfInput
The underlying iterator stopped giving us new values.
Expected(&'static str)
An expectation was not met while decoding.
MaxRecursion
During generic JSON decoding too many nesting levels had
been encountered. See Config
for details.
IntOverflow
When decoding integer values, the actual JSON digits exceeded the possible value range.
Unexpected(char)
An unexpected character was encountered.
UnicodeEscape
An invalid unicode escape sequence was found when decoding a JSON string.
Number
Decoding a numeric value failed.
BufferOverflow
A JSON string did not fit into the provided Utf8Buffer
.
Trait Implementations
impl Eq for DecodeError
[src]
impl PartialEq for DecodeError
[src]
fn eq(&self, __arg_0: &DecodeError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DecodeError) -> bool
This method tests for !=
.
impl Debug for DecodeError
[src]
impl Clone for DecodeError
[src]
fn clone(&self) -> DecodeError
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