Trait ClaudeProvider

Source
pub trait ClaudeProvider: Send + Sync {
    // Required method
    fn call_api<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: &'life1 ClaudeRequest,
    ) -> Pin<Box<dyn Future<Output = Result<String, AIError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn call_api<'life0, 'life1, 'async_trait>( &'life0 self, request: &'life1 ClaudeRequest, ) -> Pin<Box<dyn Future<Output = Result<String, AIError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§