Enum libimagentryref::error::RefErrorKind []

pub enum RefErrorKind {
    Msg(String),
    StoreError(StoreErrorKind),
    TomlQueryError(ErrorKind),
    EntryUtilError(EntryUtilErrorKind),
    Io(Error),
    Utf8Error(FromUtf8Error),
    TomlDeError(Error),
    TomlSerError(Error),
    HeaderTypeError(&'static str, &'static str),
    HeaderFieldMissingError(&'static str),
    HeaderFieldWriteError,
    HeaderFieldReadError,
    HeaderFieldAlreadyExistsError,
    PathUTF8Error,
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

Methods

impl RefErrorKind

A string describing the error kind.

Trait Implementations

impl From<RefErrorKind> for RefError

Performs the conversion.

impl Debug for RefErrorKind

Formats the value using the given formatter. Read more

impl Display for RefErrorKind

Formats the value using the given formatter. Read more

impl From<StoreErrorKind> for RefErrorKind

Performs the conversion.

impl From<ErrorKind> for RefErrorKind

Performs the conversion.

impl From<EntryUtilErrorKind> for RefErrorKind

Performs the conversion.

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

Performs the conversion.

impl From<String> for RefErrorKind

Performs the conversion.

impl From<RefError> for RefErrorKind

Performs the conversion.

Auto Trait Implementations

impl Send for RefErrorKind

impl !Sync for RefErrorKind