Enum aerospike::errors::ErrorKind []

pub enum ErrorKind {
    Msg(String),
    Base64(DecodeError),
    InvalidUtf8(Utf8Error),
    Io(Error),
    MpscRecv(RecvError),
    ParseAddr(AddrParseError),
    ParseInt(ParseIntError),
    PwHash(Error),
    BadResponse(String),
    Connection(String),
    InvalidArgument(String),
    InvalidNode(String),
    NoMoreConnections,
    ServerError(ResultCode),
    UdfBadResponse(String),
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

Error decoding Base64 encoded value

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

Error during an I/O operation

Error returned from the recv function on an MPSC Receiver

Error parsing an IP or socket address

Error parsing an integer

Error returned while hashing a password for user authentication

The client received a server response that it was not able to process.

The client was not able to communicate with the cluster due to some issue with the network connection.

One or more of the arguments passed to the client are invalid.

Cluster node is invalid.

Exceeded max. number of connections per node.

Server responded with a response code indicating an error condition.

Error returned when executing a User-Defined Function (UDF) resulted in an error.

Methods

impl ErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for ErrorKind

Formats the value using the given formatter.

impl Display for ErrorKind

Formats the value using the given formatter. Read more

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

Performs the conversion.

impl From<String> for ErrorKind

Performs the conversion.

impl From<Error> for ErrorKind

Performs the conversion.