Enum hdbconnect::HdbError[][src]

pub enum HdbError {
    Conversion(ConversionError),
    Deserialization(DeserializationError),
    DbError(ServerError),
    DbIssue(String),
    MultipleDbErrors(Vec<ServerError>),
    Cesu8(Cesu8DecodingError),
    Evaluation(String),
    Impl(String),
    Io(Error),
    Poison(String),
    Serialization(SerializationError),
    Usage(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.

Database server responded with an error.

Database server has a severe issue.

Database server responded with an error.

Some error occured while reading CESU-8.

Error occured while evaluating a HdbResponse object.

Missing or wrong implementation of HANA's wire protocol.

IO error occured in communication with the database.

Error occured in thread synchronization.

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. Read more

impl Error for HdbError
[src]

This method is soft-deprecated. 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<ConversionError> for HdbError
[src]

Performs the conversion.

impl From<DeserializationError> for HdbError
[src]

Performs the conversion.

impl From<SerializationError> for HdbError
[src]

Performs the conversion.

impl From<String> for HdbError
[src]

Performs the conversion.

impl From<Error> for HdbError
[src]

Performs the conversion.

impl From<Error> for HdbError
[src]

Performs the conversion.

impl From<Cesu8DecodingError> for HdbError
[src]

Performs the conversion.

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

Performs the conversion.

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

Performs the conversion.

impl From<HdbError> for RmError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for HdbError

impl Sync for HdbError