Skip to main content

MemoryExtensionAdapter

Trait MemoryExtensionAdapter 

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

Required Methods§

Source

fn name(&self) -> &str

Source

fn execute_memory_extension<'life0, 'life1, 'async_trait>( &'life0 self, request: MemoryExtensionRequest, core: &'life1 (dyn CoreMemoryAdapter + Sync), ) -> Pin<Box<dyn Future<Output = Result<MemoryExtensionOutcome, MemoryPlaneError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§