MCPcopy Create free account
hub / github.com/elastic/devfiler / Iter

Class Iter

src/storage/table.rs:258–261  ·  view source on GitHub ↗

Iterator over key-value pairs in the database. Created via [`Table::iter`] or [`Table::range`].

Source from the content-addressed store, hash-verified

256///
257/// Created via [`Table::iter`] or [`Table::range`].
258pub struct Iter<'db, T: Table> {
259 raw: rocksdb::DBRawIteratorWithThreadMode<'db, rocksdb::DB>,
260 _marker: PhantomData<T>,
261}
262
263impl<'db, T: Table> Iterator for Iter<'db, T> {
264 type Item = (T::Key, TableValueRef<T::Value, SmallVec<[u8; 64]>>);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected