Skip to main content

CoreProvider

Trait CoreProvider 

pub trait CoreProvider: Send + Sync {
    // Required methods
    fn catalog(&self) -> ProviderManifest;
    fn call<'life0, 'async_trait>(
        &'life0 self,
        call: ProviderCall,
    ) -> Pin<Box<dyn Future<Output = Result<ProviderOutput, ProviderError>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}

Required Methods§

fn catalog(&self) -> ProviderManifest

fn call<'life0, 'async_trait>( &'life0 self, call: ProviderCall, ) -> Pin<Box<dyn Future<Output = Result<ProviderOutput, ProviderError>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Implementations on Foreign Types§

§

impl Provider for AiSdkProvider

§

fn catalog(&self) -> ProviderManifest

§

fn call<'life0, 'async_trait>( &'life0 self, call: ProviderCall, ) -> Pin<Box<dyn Future<Output = Result<ProviderOutput, ProviderError>> + Send + 'async_trait>>
where 'life0: 'async_trait, AiSdkProvider: 'async_trait,

§

impl Provider for CodeModeSnippetProvider

§

fn catalog(&self) -> ProviderManifest

§

fn call<'life0, 'async_trait>( &'life0 self, call: ProviderCall, ) -> Pin<Box<dyn Future<Output = Result<ProviderOutput, ProviderError>> + Send + 'async_trait>>
where 'life0: 'async_trait, CodeModeSnippetProvider: 'async_trait,

§

impl Provider for OpenApiProvider

§

fn catalog(&self) -> ProviderManifest

§

fn call<'life0, 'async_trait>( &'life0 self, call: ProviderCall, ) -> Pin<Box<dyn Future<Output = Result<ProviderOutput, ProviderError>> + Send + 'async_trait>>
where 'life0: 'async_trait, OpenApiProvider: 'async_trait,

§

impl Provider for PythonProvider

§

fn catalog(&self) -> ProviderManifest

§

fn call<'life0, 'async_trait>( &'life0 self, call: ProviderCall, ) -> Pin<Box<dyn Future<Output = Result<ProviderOutput, ProviderError>> + Send + 'async_trait>>
where 'life0: 'async_trait, PythonProvider: 'async_trait,

§

impl Provider for StaticEchoProvider

§

fn catalog(&self) -> ProviderManifest

§

fn call<'life0, 'async_trait>( &'life0 self, call: ProviderCall, ) -> Pin<Box<dyn Future<Output = Result<ProviderOutput, ProviderError>> + Send + 'async_trait>>
where 'life0: 'async_trait, StaticEchoProvider: 'async_trait,

§

impl Provider for UpstreamMcpProvider

§

fn catalog(&self) -> ProviderManifest

§

fn call<'life0, 'async_trait>( &'life0 self, call: ProviderCall, ) -> Pin<Box<dyn Future<Output = Result<ProviderOutput, ProviderError>> + Send + 'async_trait>>
where 'life0: 'async_trait, UpstreamMcpProvider: 'async_trait,

§

impl Provider for WasmProvider

§

fn catalog(&self) -> ProviderManifest

§

fn call<'life0, 'async_trait>( &'life0 self, call: ProviderCall, ) -> Pin<Box<dyn Future<Output = Result<ProviderOutput, ProviderError>> + Send + 'async_trait>>
where 'life0: 'async_trait, WasmProvider: 'async_trait,

Implementors§