Struct ibm_db::DiagnosticRecord [−][src]
pub struct DiagnosticRecord { /* fields omitted */ }
Expand description
ODBC Diagnostic Record
The description
method of the std::error::Error
trait only returns the message. Use
std::fmt::Display
to retrieve status code and other information.
Implementations
get raw state string data.
get raw diagnostics message for avoiding encoding error.
get native odbc error number
constructs an empty diagnostics message. this is needed for errors where the driver doesn’t return any diagnostics info.
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DiagnosticRecord
impl Send for DiagnosticRecord
impl Sync for DiagnosticRecord
impl Unpin for DiagnosticRecord
impl UnwindSafe for DiagnosticRecord