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

Class AdjIterator

atomic-core/src/pristine/txn/helpers.rs:159–162  ·  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

157///
158/// This collects edges into a Vec to avoid lifetime issues with redb.
159pub struct AdjIterator {
160 edges: Vec<SerializedGraphEdge>,
161 index: usize,
162}
163
164impl AdjIterator {
165 /// 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