pub struct ServerErrorDetails {
pub message: String,
pub code: u32,
pub pos: i32,
pub row_count: u64,
pub rowid: Option<String>,
pub array_dml_row_counts: Option<Vec<u64>>,
}Expand description
Structured server error information parsed from the TTC error trailer
(reference impl/thin/messages/base.pyx _process_error_info).
Fields§
§message: String§code: u32ORA error number (extended field).
pos: i32Error position / parse offset (sb2; 0 when not reported).
row_count: u64Server-reported row count at the time of the error.
rowid: Option<String>Encoded rowid of the last affected row, if any.
array_dml_row_counts: Option<Vec<u64>>Row counts received before the error when
executemany(arraydmlrowcounts=True) was requested.
Trait Implementations§
Source§impl Clone for ServerErrorDetails
impl Clone for ServerErrorDetails
Source§fn clone(&self) -> ServerErrorDetails
fn clone(&self) -> ServerErrorDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerErrorDetails
impl Debug for ServerErrorDetails
Source§impl Default for ServerErrorDetails
impl Default for ServerErrorDetails
Source§fn default() -> ServerErrorDetails
fn default() -> ServerErrorDetails
Returns the “default value” for a type. Read more
impl Eq for ServerErrorDetails
Source§impl PartialEq for ServerErrorDetails
impl PartialEq for ServerErrorDetails
Source§fn eq(&self, other: &ServerErrorDetails) -> bool
fn eq(&self, other: &ServerErrorDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerErrorDetails
Auto Trait Implementations§
impl Freeze for ServerErrorDetails
impl RefUnwindSafe for ServerErrorDetails
impl Send for ServerErrorDetails
impl Sync for ServerErrorDetails
impl Unpin for ServerErrorDetails
impl UnsafeUnpin for ServerErrorDetails
impl UnwindSafe for ServerErrorDetails
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