Trait odbc::GetDiagRec
source · pub trait GetDiagRec {
fn get_diag_rec(&self, record_number: i16) -> Option<DiagnosticRecord>;
}
Expand description
Allows retriving a diagnostic record, describing errors (or lack thereof) during the last operation.
Required Methods
sourcefn get_diag_rec(&self, record_number: i16) -> Option<DiagnosticRecord>
fn get_diag_rec(&self, record_number: i16) -> Option<DiagnosticRecord>
Retrieves a diagnostic record
record_number
- Record numbers start at one. If you pass an number < 1 the function will
panic. If no record is available for the number specified none is returned.