Enum libimagcontact::error::ContactErrorKind []

pub enum ContactErrorKind {
    Msg(String),
    StoreError(StoreErrorKind),
    RefError(RefErrorKind),
    VObjectError(VObjectErrorKind),
    EntryUtilError(EntryUtilErrorKind),
    Io(Error),
    TomlQueryError(Error),
    UuidError(ParseError),
    HeaderTypeError(&'static str, &'static str),
    EntryNotFound(StoreId),
    UidMissing(String),
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

Methods

impl ContactErrorKind

A string describing the error kind.

Trait Implementations

impl From<ContactErrorKind> for ContactError

Performs the conversion.

impl Debug for ContactErrorKind

Formats the value using the given formatter. Read more

impl Display for ContactErrorKind

Formats the value using the given formatter. Read more

impl From<StoreErrorKind> for ContactErrorKind

Performs the conversion.

impl From<RefErrorKind> for ContactErrorKind

Performs the conversion.

impl From<VObjectErrorKind> for ContactErrorKind

Performs the conversion.

impl From<EntryUtilErrorKind> for ContactErrorKind

Performs the conversion.

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

Performs the conversion.

impl From<String> for ContactErrorKind

Performs the conversion.

impl From<ContactError> for ContactErrorKind

Performs the conversion.

Auto Trait Implementations