(&self)
| 196 | /// Will panic if the lock cannot be acquired. |
| 197 | #[instrument(level = "trace")] |
| 198 | pub fn commit(&self) { |
| 199 | self.mocker |
| 200 | .lock() |
| 201 | .expect("Failed to acquire mocker") |
| 202 | .commit() |
| 203 | } |
| 204 | |
| 205 | /// Roll back a faulty transaction |
| 206 | /// |