Enum sit_core::repository::Error [] [src]

pub enum Error {
    AlreadyExists,
    NotFound,
    UpgradeRequired(Upgrade),
    InvalidVersion {
        expected: String,
        got: String,
    },
    IoError(Error),
    SerializationError(Error),
    BaseDecodeError(DecodeError),
}

Variants

Item already exists

Item not found

Upgrade required

Invalid repository version

Fields of InvalidVersion

I/O error

JSON (de)serialization error

Base decoding error

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<DecodeError> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error