obeli_sk_concepts

Trait FunctionRegistry

Source
pub trait FunctionRegistry: Send + Sync {
    // Required methods
    fn get_by_exported_function<'life0, 'life1, 'async_trait>(
        &'life0 self,
        ffqn: &'life1 FunctionFqn,
    ) -> Pin<Box<dyn Future<Output = Option<(FunctionMetadata, ComponentId, ComponentRetryConfig)>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn all_exports(&self) -> &[PackageIfcFns];
}
Expand description

Implementation must not return -obelisk-ext suffix in any package name, nor obelisk namespace.

Required Methods§

Source

fn get_by_exported_function<'life0, 'life1, 'async_trait>( &'life0 self, ffqn: &'life1 FunctionFqn, ) -> Pin<Box<dyn Future<Output = Option<(FunctionMetadata, ComponentId, ComponentRetryConfig)>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn all_exports(&self) -> &[PackageIfcFns]

Implementors§