Enum unjson::error::Error [] [src]

pub enum Error {
    TypeMismatch(&'static strTy),
    MissingField(&'static str),
    IndexOutOfBounds(usizeusize),
    WrongArrayLength(usizeusize),
    IllegalString(&'static strString),
}

Variants

TypeMismatch(&'static strTy)MissingField(&'static str)IndexOutOfBounds(usizeusize)WrongArrayLength(usizeusize)IllegalString(&'static strString)

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 !=.

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Error
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.