pub fn commits(
root: CommitLogDir,
) -> Result<impl Iterator<Item = Result<StoredCommit, Traversal>>>Expand description
Obtain an iterator which traverses the commitlog located at the root
directory from the start, yielding StoredCommits.
Starts the traversal without the upfront I/O imposed by Commitlog::open.
See Commitlog::commits for more information.