pub struct StmtRef<'s> { /* private fields */ }Available on crate feature
trace only.Expand description
Statement reference
Implementations§
Source§impl StmtRef<'_>
impl StmtRef<'_>
Sourcepub fn expanded_sql(&self) -> Option<String>
pub fn expanded_sql(&self) -> Option<String>
Expanded SQL text
Sourcepub fn get_status(&self, status: StatementStatus) -> i32
pub fn get_status(&self, status: StatementStatus) -> i32
Get the value for one of the status counters for this statement.
Auto Trait Implementations§
impl<'s> !Send for StmtRef<'s>
impl<'s> !Sync for StmtRef<'s>
impl<'s> Freeze for StmtRef<'s>
impl<'s> RefUnwindSafe for StmtRef<'s>
impl<'s> Unpin for StmtRef<'s>
impl<'s> UnsafeUnpin for StmtRef<'s>
impl<'s> UnwindSafe for StmtRef<'s>
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