pub enum DatumAccessError {
OdbcCursorError(DiagnosticRecord),
SqlDataTypeMismatch(SqlDataTypeMismatch),
FromUtf16Error(FromUtf16Error, &'static str),
}
Expand description
Errors related to datum access of ODBC cursor.
Variants§
OdbcCursorError(DiagnosticRecord)
SqlDataTypeMismatch(SqlDataTypeMismatch)
FromUtf16Error(FromUtf16Error, &'static str)
Trait Implementations§
Source§impl Debug for DatumAccessError
impl Debug for DatumAccessError
Source§impl Display for DatumAccessError
impl Display for DatumAccessError
Source§impl Error for DatumAccessError
impl Error for DatumAccessError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<DatumAccessError> for ColumnConvertError
impl From<DatumAccessError> for ColumnConvertError
Source§fn from(err: DatumAccessError) -> ColumnConvertError
fn from(err: DatumAccessError) -> ColumnConvertError
Converts to this type from the input type.
Source§impl From<DatumAccessError> for DataAccessError
impl From<DatumAccessError> for DataAccessError
Source§fn from(err: DatumAccessError) -> DataAccessError
fn from(err: DatumAccessError) -> DataAccessError
Converts to this type from the input type.
Source§impl From<ErrorContext<FromUtf16Error, &'static str>> for DatumAccessError
impl From<ErrorContext<FromUtf16Error, &'static str>> for DatumAccessError
Source§fn from(err: ErrorContext<FromUtf16Error, &'static str>) -> DatumAccessError
fn from(err: ErrorContext<FromUtf16Error, &'static str>) -> DatumAccessError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DatumAccessError
impl RefUnwindSafe for DatumAccessError
impl Send for DatumAccessError
impl Sync for DatumAccessError
impl Unpin for DatumAccessError
impl UnwindSafe for DatumAccessError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more