Skip to main content

CoreMemoryAdapter

Trait CoreMemoryAdapter 

Source
pub trait CoreMemoryAdapter: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn execute_core_memory<'life0, 'async_trait>(
        &'life0 self,
        request: MemoryCoreRequest,
    ) -> Pin<Box<dyn Future<Output = Result<MemoryCoreOutcome, MemoryPlaneError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn name(&self) -> &str

Source

fn execute_core_memory<'life0, 'async_trait>( &'life0 self, request: MemoryCoreRequest, ) -> Pin<Box<dyn Future<Output = Result<MemoryCoreOutcome, MemoryPlaneError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§