pub struct SqliteTxn { /* private fields */ }Expand description
An open, uncommitted SQLite transaction scoped to one agent_id.
Created by SqlitePersistenceStore::begin_atomic; consumed by commit or rollback.
Owns the Connection for the lifetime of the transaction — the store re-acquires it
after commit or rollback completes.
Trait Implementations§
Source§impl Drop for SqliteTxn
impl Drop for SqliteTxn
impl Send for SqliteTxn
Auto Trait Implementations§
impl !RefUnwindSafe for SqliteTxn
impl !Sync for SqliteTxn
impl !UnwindSafe for SqliteTxn
impl Freeze for SqliteTxn
impl Unpin for SqliteTxn
impl UnsafeUnpin for SqliteTxn
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