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(ConversionError)
Conversion of single db value to rust type failed.
Deserialization(DeserializationError)
Error occured in deserialization of data structures into an application-defined structure.
DbError(ServerError)
Database server responded with an error.
DbIssue(String)
Database server has a severe issue.
MultipleDbErrors(Vec<ServerError>)
Database server responded with an error.
Cesu8(Cesu8DecodingError)
Some error occured while reading CESU-8.
Evaluation(String)
Error occured while evaluating a HdbResponse object.
Impl(String)
Missing or wrong implementation of HANA's wire protocol.
Io(Error)
IO error occured in communication with the database.
Poison(String)
Error occured in thread synchronization.
Serialization(SerializationError)
Error occured in serialization of rust data into values for the database.
Usage(String)
Error due to wrong usage of API.
Trait Implementations
impl Debug for HdbError
[src]
impl Debug for HdbError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for HdbError
[src]
impl Error for HdbError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for HdbError
[src]
impl Display for HdbError
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<ConversionError> for HdbError
[src]
impl From<ConversionError> for HdbError
fn from(error: ConversionError) -> HdbError
[src]
fn from(error: ConversionError) -> HdbError
Performs the conversion.
impl From<DeserializationError> for HdbError
[src]
impl From<DeserializationError> for HdbError
fn from(error: DeserializationError) -> HdbError
[src]
fn from(error: DeserializationError) -> HdbError
Performs the conversion.
impl From<SerializationError> for HdbError
[src]
impl From<SerializationError> for HdbError
fn from(error: SerializationError) -> HdbError
[src]
fn from(error: SerializationError) -> HdbError
Performs the conversion.
impl From<String> for HdbError
[src]
impl From<String> for HdbError
impl From<Error> for HdbError
[src]
impl From<Error> for HdbError
impl From<Error> for HdbError
[src]
impl From<Error> for HdbError
impl From<Cesu8DecodingError> for HdbError
[src]
impl From<Cesu8DecodingError> for HdbError
fn from(error: Cesu8DecodingError) -> HdbError
[src]
fn from(error: Cesu8DecodingError) -> HdbError
Performs the conversion.
impl<'a> From<PoisonError<MutexGuard<'a, ConnectionCore>>> for HdbError
[src]
impl<'a> From<PoisonError<MutexGuard<'a, ConnectionCore>>> for HdbError
fn from(error: PoisonError<MutexGuard<'a, ConnectionCore>>) -> HdbError
[src]
fn from(error: PoisonError<MutexGuard<'a, ConnectionCore>>) -> HdbError
Performs the conversion.
impl<'a> From<PoisonError<MutexGuard<'a, ResultSetCore>>> for HdbError
[src]
impl<'a> From<PoisonError<MutexGuard<'a, ResultSetCore>>> for HdbError
fn from(error: PoisonError<MutexGuard<'a, ResultSetCore>>) -> HdbError
[src]
fn from(error: PoisonError<MutexGuard<'a, ResultSetCore>>) -> HdbError
Performs the conversion.
impl From<HdbError> for RmError
[src]
impl From<HdbError> for RmError