Enum arthas::Error
[−]
pub enum Error { CanNotReplace, Serialize, RequiresId, FieldNotFound, }
Arthas error.
Variants
CanNotReplace
Only struct which has field _id
can use replace
method.
Serialize
Serialize error.
RequiresId
Required id.
FieldNotFound
No field in the struct.
Trait Implementations
impl Debug for Error
[src]
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, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Display for Error
impl Error for Error
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more