Skip to main content

RuntimeExtensionAdapter

Trait RuntimeExtensionAdapter 

Source
pub trait RuntimeExtensionAdapter: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn execute_extension<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: RuntimeExtensionRequest,
        core: &'life1 (dyn CoreRuntimeAdapter + Sync),
    ) -> Pin<Box<dyn Future<Output = Result<RuntimeExtensionOutcome, RuntimePlaneError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn name(&self) -> &str

Source

fn execute_extension<'life0, 'life1, 'async_trait>( &'life0 self, request: RuntimeExtensionRequest, core: &'life1 (dyn CoreRuntimeAdapter + Sync), ) -> Pin<Box<dyn Future<Output = Result<RuntimeExtensionOutcome, RuntimePlaneError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§