pub fn mark_atomic_operation() -> AtomicOperationGuard
Expand description
Marks a block as an atomic operation
When the returned guard is dropped, the operation gets committed. In case of a failure, the whole operation will be re-executed during retry.