Mark transaction as committed
(&mut self)
| 204 | |
| 205 | /// Mark transaction as committed |
| 206 | pub fn commit(&mut self) { |
| 207 | self.status = TransactionStatus::Committed; |
| 208 | self.end_time = Some(SystemTime::now()); |
| 209 | } |
| 210 | |
| 211 | /// Mark transaction as rolled back |
| 212 | pub fn rollback(&mut self) { |
no outgoing calls
no test coverage detected