Skip to main content

CloudClient

Trait CloudClient 

Source
pub trait CloudClient: Send + Sync {
    // Required method
    fn detect<'life0, 'life1, 'async_trait>(
        &'life0 self,
        code: &'life1 CodeBlock,
    ) -> Pin<Box<dyn Future<Output = Result<DetectionResult>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Trait for cloud API clients

Required Methods§

Source

fn detect<'life0, 'life1, 'async_trait>( &'life0 self, code: &'life1 CodeBlock, ) -> Pin<Box<dyn Future<Output = Result<DetectionResult>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§