MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / AdjIterator

Class AdjIterator

atomic-core/src/pristine/txn/helpers.rs:178–181  ·  view source on GitHub ↗

Iterator over adjacent edges This collects edges into a Vec to avoid lifetime issues with redb.

Source from the content-addressed store, hash-verified

176///
177/// This collects edges into a Vec to avoid lifetime issues with redb.
178pub struct AdjIterator {
179 edges: Vec<SerializedGraphEdge>,
180 index: usize,
181}
182
183impl AdjIterator {
184 /// Create a new adjacency iterator from a vector of edges

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected