pub struct State(pub [u8; 5]);
Expand description
A buffer large enough to hold an SOLState
for diagnostics
Tuple Fields§
§0: [u8; 5]
Implementations§
Source§impl State
impl State
Sourcepub const INVALID_STATE_TRANSACTION: State = _
pub const INVALID_STATE_TRANSACTION: State = _
Can be returned from SQLDisconnect
Sourcepub const INVALID_ATTRIBUTE_VALUE: State = _
pub const INVALID_ATTRIBUTE_VALUE: State = _
Given the specified Attribute value, an invalid value was specified in ValuePtr.
Sourcepub const INVALID_SQL_DATA_TYPE: State = _
pub const INVALID_SQL_DATA_TYPE: State = _
An invalid data type has been bound to a statement. Is also returned by SQLFetch if trying to fetch into a 64Bit Integer Buffer.
Sourcepub const STRING_DATA_RIGHT_TRUNCATION: State = _
pub const STRING_DATA_RIGHT_TRUNCATION: State = _
String or binary data returned for a column resulted in the truncation of nonblank character or non-NULL binary data. If it was a string value, it was right-truncated.
Sourcepub const INDICATOR_VARIABLE_REQUIRED_BUT_NOT_SUPPLIED: State = _
pub const INDICATOR_VARIABLE_REQUIRED_BUT_NOT_SUPPLIED: State = _
StrLen_or_IndPtr was a null pointer and NULL data was retrieved.
Sourcepub fn from_chars_with_nul(code: &[SqlChar; 6]) -> Self
pub fn from_chars_with_nul(code: &[SqlChar; 6]) -> Self
Drops terminating zero and changes char type, if required
Trait Implementations§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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