pub struct TxnSnapshot { /* private fields */ }Expand description
Snapshot of the mutable in-memory state taken at BEGIN time so
ROLLBACK can restore it. See begin_transaction, rollback_transaction.
tables is deep-cloned (the Table::deep_clone helper reallocates
the Arc<Mutex<_>> row storage so snapshot and live state don’t
share a map).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TxnSnapshot
impl RefUnwindSafe for TxnSnapshot
impl Send for TxnSnapshot
impl Sync for TxnSnapshot
impl Unpin for TxnSnapshot
impl UnsafeUnpin for TxnSnapshot
impl UnwindSafe for TxnSnapshot
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