Skip to main content

MemoryBridge

Trait MemoryBridge 

Source
pub trait MemoryBridge: Send + Sync {
    // Provided methods
    fn store_blueprint_memory(
        &self,
        _blueprint_id: &str,
        _data: &str,
    ) -> Result<(), String> { ... }
    fn recall_blueprint(&self, _query: &str) -> Result<Option<String>, String> { ... }
    fn link_memory(
        &self,
        _blueprint_id: &str,
        _memory_id: &str,
    ) -> Result<(), String> { ... }
}

Provided Methods§

Source

fn store_blueprint_memory( &self, _blueprint_id: &str, _data: &str, ) -> Result<(), String>

Source

fn recall_blueprint(&self, _query: &str) -> Result<Option<String>, String>

Implementors§