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.
All elements but the last one, may not be null. The last one must be null.
Error code returned by Driver manager or driver
Buffer containing the error message. The buffer already has the correct size, and there is
no terminating zero at the end.
Creates an empty diagnostic record with at least the specified capacity for the message.
Using a buffer with a size different from zero then filling the diagnostic record may safe a
second function call to SQLGetDiagRec
.
Fill this diagnostic Record
from any ODBC handle.
true
if a record has been found, false
if not.
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
Converts the given value to a
String
.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.