pub struct OdbcError(_, _);
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)>
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.