pub trait MemoryBinding: Send + Sync {
// Required methods
fn install(&self, live: Live, memory: &MemorySpec) -> Live;
fn remember(&self, note: String);
}Expand description
The seam through which a memory engine plugs into a spec-driven session.
The spec’s memory section is pure data; the engine that honors it lives
above this crate (gemini-memory-rs implements this trait over its
MemorySession). apply calls install once to wire
tools/ingestion/slots, and routes every EffectSpec::Remember through
remember.
Required Methods§
Sourcefn install(&self, live: Live, memory: &MemorySpec) -> Live
fn install(&self, live: Live, memory: &MemorySpec) -> Live
Wire the memory subsystem onto the builder per the spec’s declaration.