Enum hdbconnect::HdbError [] [src]

pub enum HdbError {
    DeserializationError(DeserError),
    EvaluationError(&'static str),
    IoError(Error),
    ProtocolError(PrtError),
    SerializationError(SerializationError),
    UsageError(&'static str),
}

Represents all possible errors that can occur in hdbconnect.

Variants

Error occured in deserialization of data into an application-defined structure.

Error occured in evaluation of a response from the DB.

IO error occured in communication setup.

Error occured in communication with the database.

Error occured in serialization of rust data into values for the database.

Error due to wrong usage of API.

Trait Implementations

impl Debug for HdbError
[src]

Formats the value using the given formatter.

impl Error for HdbError
[src]

A short description of the error. Read more

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

impl Display for HdbError
[src]

Formats the value using the given formatter. Read more

impl From<DeserError> for HdbError
[src]

Performs the conversion.

impl From<SerializationError> for HdbError
[src]

Performs the conversion.

impl From<PrtError> for HdbError
[src]

Performs the conversion.

impl From<Error> for HdbError
[src]

Performs the conversion.