pub struct TreeInspection {
pub entries: Vec<IndexEntry>,
pub nodes: Vec<NodeId>,
}Expand description
A single full traversal of an index tree: every leaf entry and every distinct tree-node id.
Both are collected in one pass so a caller that needs to carry untouched
selector bindings forward (the immutable-edit witness) does not read the
tree twice. Every node read is hash-checked by FsIndexStore::get.
Fields§
§entries: Vec<IndexEntry>Every leaf entry, sorted and deduplicated by [entry_order].
nodes: Vec<NodeId>Every distinct node id reachable from the root (leaves and internals).
Auto Trait Implementations§
impl Freeze for TreeInspection
impl RefUnwindSafe for TreeInspection
impl Send for TreeInspection
impl Sync for TreeInspection
impl Unpin for TreeInspection
impl UnsafeUnpin for TreeInspection
impl UnwindSafe for TreeInspection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more