MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / records

Method records

nodedb-wal/src/mmap_reader.rs:214–216  ·  view source on GitHub ↗

Iterator over all valid records in the mmap'd segment.

(self)

Source from the content-addressed store, hash-verified

212
213 /// Iterator over all valid records in the mmap'd segment.
214 pub fn records(self) -> MmapRecordIter {
215 MmapRecordIter { reader: self }
216 }
217
218 /// Current read offset.
219 pub fn offset(&self) -> usize {

Callers 3

mmap_reader_basicFunction · 0.45
mmap_reader_empty_fileFunction · 0.45

Calls

no outgoing calls

Tested by 3

mmap_reader_basicFunction · 0.36
mmap_reader_empty_fileFunction · 0.36