pub async fn store_tx(
storage: &(impl Storage + ?Sized),
items: &[KeyValue<'_>],
) -> Result<()>Expand description
All-or-nothing multi-key store: on failure, keys already written by this transaction are restored to their values from before the transaction (or deleted when they did not exist). This preserves existing resources when a later write fails; a rollback failure is logged because the original write error is the actionable result for the caller.