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

The specified checkpoint already exists.

The specified checkpoint does not exist.

The specified checkpoint is in use.

Most likely to occur if checkpoint removal is attempted while a reference to the underlying data exists.

The specified checkpoint key does not exist.

Deserialization of checkpoint data failed.

An initialization error occurred.

Most likely to occur when initializing storage or storage wrappers.

An integrity check of checkpoint data failed.

An invalid identifier was used.

Most likely to occur when specifying a checkpoint identifier or a checkpoint key.

An I/O error occurred.

A checkpoint error occurred that is not covered by ErrorKind.

Serialization of checkpoint data failed.

Trait Implementations

impl Clone for ErrorKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ErrorKind
[src]

impl Debug for ErrorKind
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for ErrorKind
[src]

impl PartialEq for ErrorKind
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Display for ErrorKind
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind