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

The underlying iterator stopped giving us new values.

An expectation was not met while decoding.

During generic JSON decoding too many nesting levels had been encountered. See Config for details.

When decoding integer values, the actual JSON digits exceeded the possible value range.

An unexpected character was encountered.

An invalid unicode escape sequence was found when decoding a JSON string.

Decoding a numeric value failed.

A JSON string did not fit into the provided Utf8Buffer.

Generic error message.

Some other Error trait impl.

Trait Implementations

impl Debug for DecodeError
[src]

Formats the value using the given formatter.

impl Display for DecodeError
[src]

Formats the value using the given formatter. Read more

impl Error for DecodeError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more