pub struct OdbcError(/* private fields */);
Expand description
ODBC library initialization and connection errors.
Trait Implementations§
Source§impl Error for OdbcError
impl Error for OdbcError
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<ErrorContext<DiagnosticRecord, &'static str>> for OdbcError
impl From<ErrorContext<DiagnosticRecord, &'static str>> for OdbcError
Source§fn from(err: ErrorContext<DiagnosticRecord, &'static str>) -> OdbcError
fn from(err: ErrorContext<DiagnosticRecord, &'static str>) -> OdbcError
Converts to this type from the input type.
Source§impl From<ErrorContext<Option<DiagnosticRecord>, &'static str>> for OdbcError
impl From<ErrorContext<Option<DiagnosticRecord>, &'static str>> for OdbcError
Source§fn from(err: ErrorContext<Option<DiagnosticRecord>, &'static str>) -> OdbcError
fn from(err: ErrorContext<Option<DiagnosticRecord>, &'static str>) -> OdbcError
Converts to this type from the input type.
Source§impl From<OdbcError> for QueryError
impl From<OdbcError> for QueryError
Source§fn from(err: OdbcError) -> QueryError
fn from(err: OdbcError) -> QueryError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OdbcError
impl RefUnwindSafe for OdbcError
impl Send for OdbcError
impl Sync for OdbcError
impl Unpin for OdbcError
impl UnwindSafe for OdbcError
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