pub struct InTransaction;Expand description
Connection is in a transaction.
In this state, queries execute within the transaction context. The transaction must be explicitly committed or rolled back.
Trait Implementations§
impl ConnectionState for InTransaction
Auto Trait Implementations§
impl Freeze for InTransaction
impl RefUnwindSafe for InTransaction
impl Send for InTransaction
impl Sync for InTransaction
impl Unpin for InTransaction
impl UnwindSafe for InTransaction
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