fold_transactions_from

Function fold_transactions_from 

Source
pub fn fold_transactions_from<D>(
    root: CommitLogDir,
    offset: u64,
    de: D,
) -> Result<(), D::Error>
where D: Decoder, D::Error: From<Traversal> + From<Error>,
Expand description

Traverse the commitlog located at the root directory starting from offset and “fold” its transactions into the provided Decoder.

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