Obtain an iterator which traverses the commitlog located at the `root` directory from the start, yielding [`Transaction`]s. Starts the traversal without the upfront I/O imposed by [`Commitlog::open`]. See [`Commitlog::transactions`] for more information.
(
root: CommitLogDir,
de: &'a D,
)
| 638 | /// Starts the traversal without the upfront I/O imposed by [`Commitlog::open`]. |
| 639 | /// See [`Commitlog::transactions`] for more information. |
| 640 | pub fn transactions<'a, D, T>( |
| 641 | root: CommitLogDir, |
| 642 | de: &'a D, |
| 643 | ) -> io::Result<impl Iterator<Item = Result<Transaction<T>, D::Error>> + 'a> |
| 644 | where |
| 645 | D: Decoder<Record = T>, |
| 646 | D::Error: From<error::Traversal>, |
| 647 | T: 'a, |
| 648 | { |
| 649 | transactions_from(root, 0, de) |
| 650 | } |
| 651 | |
| 652 | /// Obtain an iterator which traverses the commitlog located at the `root` |
| 653 | /// directory starting from `offset` and yielding [`Transaction`]s. |
nothing calls this directly
no test coverage detected
searching dependent graphs…