pub fn mark_atomic_operation() -> AtomicOperationGuardExpand 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.