pub struct Record {
pub state: State,
pub native_error: i32,
pub message: Vec<SqlChar>,
}
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.
Fields§
§state: State
All elements but the last one, may not be null. The last one must be null.
native_error: i32
Error code returned by Driver manager or driver
message: Vec<SqlChar>
Buffer containing the error message. The buffer already has the correct size, and there is no terminating zero at the end.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more