Public declaration syntax from forge-rs/harness-runtime/src/planes/memory.rs Original source SHA-256: 755e65916c753569218181cc1b70e58894bd5ca8d419d07dfa06f2192d2ac6ea Function bodies and constant values are omitted. This is not the complete implementation. Source line 13 #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub struct MemoryWrite { /// Which memory type the write targets. pub kind: MemoryType, /// Application-defined key. pub key: String, /// The content to store. pub content: String } Source line 24 #[async_trait] pub trait MemoryPlane: Plane { /// Write into the bound mind. Returns the provider's evidence /// reference for the write, when it produces one. async fn write(&self, write: MemoryWrite) -> Result, PlaneError>; /// Consolidate the run's task-scoped writes into durable memory. /// The runtime invokes this only for `verified` runs (ยง5.7: /// consolidation must not occur for runs that end `failed`, `halted`, /// or `denied`). Returns the consolidation evidence reference, when /// the provider produces one. async fn consolidate(&self, mind: String) -> Result, PlaneError>; }