Enum odbc_iter::ResultSetError
source · pub enum ResultSetError {
OdbcError(DiagnosticRecord, &'static str),
UnsupportedSqlDataType(UnsupportedSqlDataType),
}
Expand description
Error crating ResultSet iterator.
Variants§
OdbcError(DiagnosticRecord, &'static str)
UnsupportedSqlDataType(UnsupportedSqlDataType)
Trait Implementations§
source§impl Debug for ResultSetError
impl Debug for ResultSetError
source§impl Display for ResultSetError
impl Display for ResultSetError
source§impl Error for ResultSetError
impl Error for ResultSetError
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 ResultSetError
impl From<ErrorContext<DiagnosticRecord, &'static str>> for ResultSetError
source§fn from(err: ErrorContext<DiagnosticRecord, &'static str>) -> ResultSetError
fn from(err: ErrorContext<DiagnosticRecord, &'static str>) -> ResultSetError
Converts to this type from the input type.
source§impl From<ResultSetError> for QueryError
impl From<ResultSetError> for QueryError
source§fn from(err: ResultSetError) -> QueryError
fn from(err: ResultSetError) -> QueryError
Converts to this type from the input type.
source§impl From<UnsupportedSqlDataType> for ResultSetError
impl From<UnsupportedSqlDataType> for ResultSetError
source§fn from(err: UnsupportedSqlDataType) -> ResultSetError
fn from(err: UnsupportedSqlDataType) -> ResultSetError
Converts to this type from the input type.