(self)
| 458 | |
| 459 | impl CommonPristineWriteTxn<'_> { |
| 460 | pub(super) fn commit(self) -> Result<(), RepositoryError> { |
| 461 | self.txn |
| 462 | .commit() |
| 463 | .map_err(|error| RepositoryError::Database(error.to_string())) |
| 464 | } |
| 465 | |
| 466 | /// Discard the transaction: no journal entry and no table mutation. |
| 467 | pub(super) fn abort(self) -> Result<(), RepositoryError> { |
no outgoing calls