MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / transactions_from

Method transactions_from

crates/commitlog/src/commitlog.rs:326–338  ·  view source on GitHub ↗
(
        &self,
        offset: u64,
        decoder: &'a D,
    )

Source from the content-addressed store, hash-verified

324 }
325
326 pub fn transactions_from<'a, D>(
327 &self,
328 offset: u64,
329 decoder: &'a D,
330 ) -> impl Iterator<Item = Result<Transaction<T>, D::Error>> + 'a + use<'a, D, R, T>
331 where
332 D: Decoder<Record = T>,
333 D::Error: From<error::Traversal>,
334 R: 'a,
335 T: 'a,
336 {
337 transactions_from_internal(self.commits_from(offset).with_log_format_version(), offset, decoder)
338 }
339
340 pub fn fold_transactions_from<D>(&self, offset: u64, decoder: D) -> Result<(), D::Error>
341 where

Callers 2

traverse_transactionsFunction · 0.45

Calls 3

commits_fromMethod · 0.45

Tested by 2

traverse_transactionsFunction · 0.36