(&self, range: impl RangeBounds<u64>, decoder: D)
| 346 | } |
| 347 | |
| 348 | pub fn fold_transaction_range<D>(&self, range: impl RangeBounds<u64>, decoder: D) -> Result<(), D::Error> |
| 349 | where |
| 350 | D: Decoder, |
| 351 | D::Error: From<error::Traversal>, |
| 352 | { |
| 353 | use std::ops::Bound::*; |
| 354 | |
| 355 | let start = match range.start_bound() { |
| 356 | Included(x) => *x, |
| 357 | Excluded(x) => x + 1, |
| 358 | Unbounded => 0, |
| 359 | }; |
| 360 | fold_transactions_internal(self.commits_from(start).with_log_format_version(), decoder, range) |
| 361 | } |
| 362 | } |
| 363 | |
| 364 | impl<R: Repo, T> Drop for Generic<R, T> { |
no test coverage detected