Enum arthas::Error []

pub enum Error {
    CanNotReplace,
    Serialize,
    RequiresId,
    FieldNotFound,
}

Arthas error.

Variants

Only struct which has field _id can use replace method.

Serialize error.

Required id.

No field in the struct.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

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

impl From<Error> for Error

Performs the conversion.