(&mut self)
| 134 | |
| 135 | impl<'a, S: KVStore, M> Drop for Transaction<'a, S, M> { |
| 136 | fn drop(&mut self) { |
| 137 | if self.token.is_some() && !thread::panicking() { |
| 138 | panic!("Transaction prematurely dropped. Must call `.commit()` or `.rollback()`."); |
| 139 | } |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | impl<'a, S: KVStore, M> KVRead<S> for Transaction<'a, S, M> |
nothing calls this directly
no outgoing calls
no test coverage detected