pub struct Record {
pub state: State,
pub native_error: i32,
pub message: Vec<u16>,
}
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.
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
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.