pub trait GetDiagRec {
// Required method
fn get_diag_rec(&self, record_number: i16) -> Option<DiagnosticRecord>;
}
Expand description
Allows retrieving 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.