Enum arya::JsonError [−][src]
pub enum JsonError { Invalid, Utf8, Exceeded, }
the error type for arya json errors.
Variants
Invalid
the input stream is not valid json.
Utf8
conversion to a string failed because the input stream is not valid a utf8 sequence.
Exceeded
parse failed because the input stream contained an object exceeding the maximum specified depth.
Trait Implementations
impl Debug for JsonError
[src]
impl Debug for JsonError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for JsonError
[src]
impl Clone for JsonError
fn clone(&self) -> JsonError
[src]
fn clone(&self) -> JsonError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for JsonError
[src]
impl Copy for JsonError
impl PartialEq for JsonError
[src]
impl PartialEq for JsonError
fn eq(&self, other: &JsonError) -> bool
[src]
fn eq(&self, other: &JsonError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for JsonError
[src]
impl Eq for JsonError