pub struct ScratchCheckpoint { /* private fields */ }Expand description
Rollback image of a WriteScratch: its two state halves — the per-batch
state (via the one embedded capture) and the statement-spanning state
([StatementState]: counters and applied count as of the capture) — plus
the redo log’s positional cursor. Cloning the maps is shallow once node and
relationship payloads are Arcs; the redo ops stay with the live log, and
the id allocators are not captured (they never roll back).
Opaque to the facade, which captures one per CALL { … } IN TRANSACTIONS
batch and restores it when that batch fails. Its clone is O(batch), so it
is a per-batch image — never a per-statement one (StatementMark).
Auto Trait Implementations§
impl Forget for ScratchCheckpoint
impl Freeze for ScratchCheckpoint
impl Move for ScratchCheckpoint
impl RefUnwindSafe for ScratchCheckpoint
impl Send for ScratchCheckpoint
impl Sync for ScratchCheckpoint
impl Unpin for ScratchCheckpoint
impl UnsafeUnpin for ScratchCheckpoint
impl UnwindSafe for ScratchCheckpoint
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