Enum hdbconnect::HdbError [] [src]

pub enum HdbError {
    ConversionError(ConversionError),
    DeserializationError(DeserializationError),
    EvaluationError(String),
    InternalEvaluationError(&'static str),
    FmtError(Error),
    IoError(Error),
    ProtocolError(PrtError),
    SerializationError(SerializationError),
    UsageError(String),
    PoisonError(String),
}

Represents all possible errors that can occur in hdbconnect.

Variants

Conversion of single db value to rust type failed.

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

Error occured while evaluating a HdbResponse object.

Error occured in evaluation of a response from the DB.

Format error occured in communication setup.

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.

Error occured in thread synchronization.

Trait Implementations

impl Debug for HdbError
[src]

[src]

Formats the value using the given formatter.

impl Error for HdbError
[src]

[src]

A short description of the error. Read more

[src]

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

impl Display for HdbError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<ConversionError> for HdbError
[src]

[src]

Performs the conversion.

impl From<DeserializationError> for HdbError
[src]

[src]

Performs the conversion.

impl From<SerializationError> for HdbError
[src]

[src]

Performs the conversion.

impl From<PrtError> for HdbError
[src]

[src]

Performs the conversion.

impl From<String> for HdbError
[src]

[src]

Performs the conversion.

impl From<Error> for HdbError
[src]

[src]

Performs the conversion.

impl From<Error> for HdbError
[src]

[src]

Performs the conversion.

impl<'a> From<PoisonError<MutexGuard<'a, ConnectionCore>>> for HdbError
[src]

[src]

Performs the conversion.

impl<'a> From<PoisonError<MutexGuard<'a, ResultSetCore>>> for HdbError
[src]

[src]

Performs the conversion.