Struct odbc::DiagRec [] [src]

pub struct DiagRec {
    pub state: [SQLCHAR; 6],
    pub native_error_pointer: SQLINTEGER,
    pub message: String,
}

ODBC Diagnostic Record

Fields

Methods

impl DiagRec
[src]

Reads first diagnostic record from handle

This function will panic if no Diagnostic record is available. Its primary use is to create one after another ODBC function returned SQL_ERROR

Trait Implementations

impl Debug for DiagRec
[src]

Formats the value using the given formatter.