Trait odbc_futures::SqlHandle
source · pub trait SqlHandle: Drop + Send + Sync + Sized + 'static {
type Type: Copy + Sized + 'static;
const TYPE: HandleType;
unsafe fn typed_handle(&self) -> Self::Type;
unsafe fn handle(&self) -> SQLHANDLE;
fn diagnostics_count(&self) -> SqlResult<usize> { ... }
fn has_diagnostics(&self) -> SqlResult<bool> { ... }
fn diagnostics(&self) -> SqlResult<Vec<SqlDiagnosticRecord>> { ... }
fn get_detailed_error(&self, return_code: SQLRETURN) -> SqlError { ... }
}