pub struct Transaction { /* private fields */ }Expand description
Transaction
Implementations§
Source§impl Transaction
impl Transaction
Sourcepub async fn query(&self, query: &str) -> Result<QueryResult>
pub async fn query(&self, query: &str) -> Result<QueryResult>
Execute a query within the transaction
Trait Implementations§
Source§impl Debug for Transaction
impl Debug for Transaction
Auto Trait Implementations§
impl Freeze for Transaction
impl !RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl !UnwindSafe for Transaction
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