Struct libimagcontact::error::ContactError []

pub struct ContactError(pub ContactErrorKind, _);

The Error type.

This tuple struct is made of two elements:

  • an ErrorKind which is used to determine the type of the error.
  • An internal State, not meant for direct use outside of error_chain internals, containing:
    • a backtrace, generated when the error is created.
    • an error chain, used for the implementation of Error::cause().

Methods

impl ContactError

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Construct a chained error from another boxed error and a kind, and generates a backtrace

Returns the kind of the error.

Important traits for Iter<'a>

Iterates over the error chain.

Returns the backtrace associated with this error.

Extends the error chain with a new entry.

Methods from Deref<Target = ContactErrorKind>

A string describing the error kind.

Trait Implementations

impl Debug for ContactError

Formats the value using the given formatter. Read more

impl ChainedError for ContactError

Associated kind type.

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Returns the kind of the error.

Important traits for Iter<'a>

Iterates over the error chain.

Extends the error chain with a new entry.

Returns the backtrace associated with this error.

[src]

Returns an object which implements Display for printing the full context of this error. Read more

impl Error for ContactError

A short description of the error. Read more

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

impl Display for ContactError

Formats the value using the given formatter. Read more

impl From<StoreError> for ContactError

Performs the conversion.

impl From<RefError> for ContactError

Performs the conversion.

impl From<VObjectError> for ContactError

Performs the conversion.

impl From<EntryUtilError> for ContactError

Performs the conversion.

impl From<Error> for ContactError

Performs the conversion.

impl From<Error> for ContactError

Performs the conversion.

impl From<ParseError> for ContactError

Performs the conversion.

impl From<ContactErrorKind> for ContactError

Performs the conversion.

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

Performs the conversion.

impl From<String> for ContactError

Performs the conversion.

impl Deref for ContactError

The resulting type after dereferencing.

Dereferences the value.

impl From<ContactError> for ContactErrorKind

Performs the conversion.

Auto Trait Implementations

impl Send for ContactError

impl !Sync for ContactError