Struct aerospike::errors::Error []

pub struct Error(_, _);

The Error type.

This struct is made of three things:

  • an ErrorKind which is used to determine the type of the error.
  • a backtrace, generated when the error is created.
  • an error chain, used for the implementation of Error::cause().

Methods

impl Error

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

Returns the kind of the error.

Iterates over the error chain.

Returns the backtrace associated with this error.

Methods from Deref<Target = ErrorKind>

A string describing the error kind.

Trait Implementations

impl Debug for Error

Formats the value using the given formatter.

impl ChainedError for Error

Associated kind type.

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

Returns the kind of the error.

Iterates over the error chain.

Returns the backtrace associated with this error.

impl Error for Error

A short description of the error. Read more

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

impl Display for Error

Formats the value using the given formatter. Read more

impl From<FromBase64Error> for Error

Error deserializing a Base64 encoded value

Performs the conversion.

impl From<Utf8Error> for Error

Error interpreting a sequence of u8 as a UTF-8 encoded string.

Performs the conversion.

impl From<Error> for Error

Error during an I/O operation

Performs the conversion.

impl From<RecvError> for Error

Error returned from the recv function on an MPSC Receiver

Performs the conversion.

impl From<AddrParseError> for Error

Error parsing an IP or socket address

Performs the conversion.

impl From<ParseIntError> for Error

Error parsing an integer

Performs the conversion.

impl From<Error> for Error

Error returned while hashing a password for user authentication

Performs the conversion.

impl From<ErrorKind> for Error

Performs the conversion.

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

Performs the conversion.

impl From<String> for Error

Performs the conversion.

impl Deref for Error

The resulting type after dereferencing

The method called to dereference a value