Monotonically increasing version counter for mutation tracking.
(&self)
| 264 | impl<T: Clone> Dict<T> { |
| 265 | /// Monotonically increasing version counter for mutation tracking. |
| 266 | pub fn version(&self) -> u64 { |
| 267 | self.version.load(Acquire) |
| 268 | } |
| 269 | |
| 270 | /// Bump the version counter after any mutation. |
| 271 | fn bump_version(&self) { |
no test coverage detected