Obtain an iterator starting from transaction offset `offset`, yielding [`Transaction`]s. Similar to [`Self::transactions`] but will skip until the provided `offset`, i.e. the first [`Transaction`] yielded will be the transaction with offset `offset`.
(
&self,
offset: u64,
de: &'a D,
)
| 523 | /// `offset`, i.e. the first [`Transaction`] yielded will be the transaction |
| 524 | /// with offset `offset`. |
| 525 | pub fn transactions_from<'a, D>( |
| 526 | &self, |
| 527 | offset: u64, |
| 528 | de: &'a D, |
| 529 | ) -> impl Iterator<Item = Result<Transaction<T>, D::Error>> + 'a + use<'a, D, T, R> |
| 530 | where |
| 531 | D: Decoder<Record = T>, |
| 532 | D::Error: From<error::Traversal>, |
| 533 | R: 'a, |
| 534 | T: 'a, |
| 535 | { |
| 536 | self.inner.read().unwrap().transactions_from(offset, de) |
| 537 | } |
| 538 | |
| 539 | /// Traverse the log from the start and "fold" its transactions into the |
| 540 | /// provided [`Decoder`]. |
no test coverage detected