Enum libimagstore::error::StoreErrorKind []

pub enum StoreErrorKind {
    Msg(String),
    Io(Error),
    Fmt(Error),
    TomlDeserError(Error),
    GlobPatternError(PatternError),
    TomlQueryError(Error),
    ConfigurationError,
    ConfigTypeError(&'static str, &'static str),
    ConfigKeyMissingError(&'static str),
    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 From<StoreErrorKind> for StoreError

Performs the conversion.

impl Debug for StoreErrorKind

Formats the value using the given formatter. Read more

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.

Auto Trait Implementations

impl Send for StoreErrorKind

impl !Sync for StoreErrorKind