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
ConversionError(ConversionError)
Conversion of single db value to rust type failed.
DeserializationError(DeserializationError)
Error occured in deserialization of data structures into an application-defined structure.
EvaluationError(String)
Error occured while evaluating a HdbResponse object.
InternalEvaluationError(&'static str)
Error occured in evaluation of a response from the DB.
FmtError(Error)
Format error occured in communication setup.
IoError(Error)
IO error occured in communication setup.
ProtocolError(PrtError)
Error occured in communication with the database.
SerializationError(SerializationError)
Error occured in serialization of rust data into values for the database.
UsageError(String)
Error due to wrong usage of API.
PoisonError(String)
Error occured in thread synchronization.
Trait Implementations
impl Debug for HdbError
[src]
impl Error for HdbError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl Display for HdbError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<ConversionError> for HdbError
[src]
fn from(error: ConversionError) -> HdbError
[src]
Performs the conversion.
impl From<DeserializationError> for HdbError
[src]
fn from(error: DeserializationError) -> HdbError
[src]
Performs the conversion.
impl From<SerializationError> for HdbError
[src]
fn from(error: SerializationError) -> HdbError
[src]
Performs the conversion.
impl From<PrtError> for HdbError
[src]
impl From<String> for HdbError
[src]
impl From<Error> for HdbError
[src]
impl From<Error> for HdbError
[src]
impl<'a> From<PoisonError<MutexGuard<'a, ConnectionCore>>> for HdbError
[src]
fn from(error: PoisonError<MutexGuard<'a, ConnectionCore>>) -> HdbError
[src]
Performs the conversion.
impl<'a> From<PoisonError<MutexGuard<'a, ResultSetCore>>> for HdbError
[src]
fn from(error: PoisonError<MutexGuard<'a, ResultSetCore>>) -> HdbError
[src]
Performs the conversion.