Function odbc_api::handles::drop_handle
source · [−]pub unsafe fn drop_handle(handle: Handle, handle_type: HandleType)Expand description
Helper function freeing a handle and panicking on errors. Yet if the drop is triggered during another panic, the function will simply ignore errors from failed drops.
Safety
handle Must be a valid ODBC handle and handle_type must match its type.