Enum unjson::error::Error
[−]
[src]
pub enum Error { TypeMismatch(&'static str, Ty), MissingField(&'static str), IndexOutOfBounds(usize, usize), WrongArrayLength(usize, usize), IllegalString(&'static str, String), }
Variants
TypeMismatch(&'static str, Ty)
MissingField(&'static str)
IndexOutOfBounds(usize, usize)
WrongArrayLength(usize, usize)
IllegalString(&'static str, String)
Trait Implementations
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.