Enum json::JsonError
[−]
[src]
pub enum JsonError { UnexpectedCharacter { ch: char, line: usize, column: usize, }, UnexpectedEndOfJson, FailedUtf8Parsing, ArrayIndexOutOfBounds, WrongType(String), UndefinedField(String), }
Variants
UnexpectedCharacter
Fields
ch: char | |
line: usize | |
column: usize |
UnexpectedEndOfJson
FailedUtf8Parsing
ArrayIndexOutOfBounds
WrongType(String)
UndefinedField(String)
Methods
impl JsonError
[src]
fn wrong_type(expected: &str) -> Self
Trait Implementations
impl PartialEq for JsonError
[src]
fn eq(&self, __arg_0: &JsonError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &JsonError) -> bool
This method tests for !=
.