[][src]Trait odbc::GetDiagRec

pub trait GetDiagRec {
    fn get_diag_rec(&self, record_number: i16) -> Option<DiagnosticRecord>;
}

Allows retrieving a diagnostic record, describing errors (or lack thereof) during the last operation.

Required methods

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.

Loading content...

Implementors

impl<D> GetDiagRec for D where
    D: Diagnostics
[src]

Loading content...