Enum checkpoint::error::ErrorKind
[−]
[src]
pub enum ErrorKind { CpAlreadyExists, CpDoesntExist, CpInUse, CpKeyDoesntExist, Deserialize, Initialization, Integrity, InvalidIdentifier, Io, Other, Serialize, }
The general types of checkpoint error.
Variants
CpAlreadyExists
The specified checkpoint already exists.
CpDoesntExist
The specified checkpoint does not exist.
CpInUse
The specified checkpoint is in use.
Most likely to occur if checkpoint removal is attempted while a reference to the underlying data exists.
CpKeyDoesntExist
The specified checkpoint key does not exist.
Deserialize
Deserialization of checkpoint data failed.
Initialization
An initialization error occurred.
Most likely to occur when initializing storage or storage wrappers.
Integrity
An integrity check of checkpoint data failed.
InvalidIdentifier
An invalid identifier was used.
Most likely to occur when specifying a checkpoint identifier or a checkpoint key.
Io
An I/O error occurred.
Other
A checkpoint error occurred that is not covered by ErrorKind
.
Serialize
Serialization of checkpoint data failed.
Trait Implementations
impl Clone for ErrorKind
[src]
fn clone(&self) -> ErrorKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ErrorKind
[src]
impl Debug for ErrorKind
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for ErrorKind
[src]
impl PartialEq for ErrorKind
[src]
fn eq(&self, __arg_0: &ErrorKind) -> bool
[src]
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]
This method tests for !=
.