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)>
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 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.
Auto Trait Implementations§
impl Freeze for ResultSetError
impl RefUnwindSafe for ResultSetError
impl Send for ResultSetError
impl Sync for ResultSetError
impl Unpin for ResultSetError
impl UnwindSafe for ResultSetError
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