Enum libimagstore::error::StoreErrorKind []

pub enum StoreErrorKind {
    Msg(String),
    Io(Error),
    TomlDeserError(Error),
    GlobPatternError(PatternError),
    ConfigurationError,
    ConfigTypeError,
    ConfigKeyMissingError,
    VersionError,
    CreateStoreDirDenied,
    FileError,
    IoError,
    IdLocked,
    IdNotFound(StoreId),
    FileNotFound,
    FileNotCreated,
    FileNotWritten,
    FileNotSeeked,
    FileNotRemoved,
    FileNotRenamed,
    FileNotCopied,
    DirNotCreated,
    StorePathExists(PathBuf),
    StorePathCreate(PathBuf),
    LockError,
    LockPoisoned,
    EntryAlreadyBorrowed(StoreId),
    EntryAlreadyExists(StoreId),
    MalformedEntry,
    HeaderTypeFailure,
    EncodingError,
    EntryRenameError(PathBufPathBuf),
    StoreIdHandlingError,
    StoreIdLocalPartAbsoluteError(PathBuf),
    StoreIdBuildFromFullPathError,
    StoreIdHasNoBaseError(PathBuf),
    CreateCallError,
    RetrieveCallError,
    GetCallError,
    GetAllVersionsCallError,
    RetrieveForModuleCallError,
    UpdateCallError,
    RetrieveCopyCallError,
    DeleteCallError,
    MoveCallError,
    MoveByIdCallError,
    MissingMainSection,
    MissingVersionInfo,
    NonTableInBaseTable,
    HeaderInconsistency,
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

Methods

impl StoreErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for StoreErrorKind

Formats the value using the given formatter.

impl Display for StoreErrorKind

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for StoreErrorKind

Performs the conversion.

impl From<String> for StoreErrorKind

Performs the conversion.

impl From<StoreError> for StoreErrorKind

Performs the conversion.