pub enum ExecutedStatement {
Query(ResultSet),
Statement(StatementResult),
}Variants§
Query(ResultSet)
Statement(StatementResult)
Implementations§
Source§impl ExecutedStatement
impl ExecutedStatement
pub fn as_query(&self) -> Option<&ResultSet>
pub fn as_statement(&self) -> Option<&StatementResult>
pub fn render_ascii(&self) -> String
Trait Implementations§
Source§impl Clone for ExecutedStatement
impl Clone for ExecutedStatement
Source§fn clone(&self) -> ExecutedStatement
fn clone(&self) -> ExecutedStatement
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 moreAuto Trait Implementations§
impl Freeze for ExecutedStatement
impl RefUnwindSafe for ExecutedStatement
impl Send for ExecutedStatement
impl Sync for ExecutedStatement
impl Unpin for ExecutedStatement
impl UnsafeUnpin for ExecutedStatement
impl UnwindSafe for ExecutedStatement
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