transactions

Function transactions 

Source
pub fn transactions<'a, D, T>(
    root: CommitLogDir,
    de: &'a D,
) -> Result<impl Iterator<Item = Result<Transaction<T>, D::Error>> + 'a>
where D: Decoder<Record = T>, D::Error: From<Traversal>, T: 'a,
Expand description

Obtain an iterator which traverses the commitlog located at the root directory from the start, yielding Transactions.

Starts the traversal without the upfront I/O imposed by Commitlog::open. See Commitlog::transactions for more information.