kmp-domain 0.18.3

Domain model of the Kernel Memory Protocol: aggregates, value objects, repositories and projections, with no IO
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::{GraphReadRevision, MemoryNodeHeader, TraceSearchStop};

/// Deduplicated nodes in first-requested order from one operation snapshot.
#[derive(Debug, Clone, PartialEq, Eq, Default)]
pub struct MemoryNodesResult {
    pub nodes: Vec<MemoryNodeHeader>,
    /// Adapter-certified identity; the pure resolver alone cannot certify reuse.
    pub snapshot: Option<GraphReadRevision>,
    /// Absent or outside the requested about; foreign metadata is never exposed.
    pub missing: Vec<String>,
    /// References left unread by a common work budget, distinct from absence.
    pub omitted: Vec<String>,
    pub stop: Option<TraceSearchStop>,
    pub scanned_edges: u32,
}