pub enum StatementOutcome {
Query(QueryResult),
Exec(ExecResult),
SqlError {
request_index: usize,
message: String,
code: Option<String>,
},
}Expand description
Batch outcome per statement.
Variants§
Query(QueryResult)
Successful query statement.
Exec(ExecResult)
Successful execute statement.
SqlError
Statement-level SQL error from pipeline response.
Trait Implementations§
Source§impl Clone for StatementOutcome
impl Clone for StatementOutcome
Source§fn clone(&self) -> StatementOutcome
fn clone(&self) -> StatementOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 StatementOutcome
impl Debug for StatementOutcome
Source§impl PartialEq for StatementOutcome
impl PartialEq for StatementOutcome
impl StructuralPartialEq for StatementOutcome
Auto Trait Implementations§
impl Freeze for StatementOutcome
impl RefUnwindSafe for StatementOutcome
impl Send for StatementOutcome
impl Sync for StatementOutcome
impl Unpin for StatementOutcome
impl UnsafeUnpin for StatementOutcome
impl UnwindSafe for StatementOutcome
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