Skip to main content

BacktestDiscoveryClient

Trait BacktestDiscoveryClient 

Source
pub trait BacktestDiscoveryClient: Send + Sync {
    // Required methods
    fn list_profiles<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<ListProfilesResponse, BacktestClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list_symbols<'life0, 'async_trait>(
        &'life0 self,
        request: ListSymbolsRequest,
    ) -> Pin<Box<dyn Future<Output = Result<ListSymbolsResponse, BacktestClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Provider-neutral client port for profile and market-data discovery.

Required Methods§

Source

fn list_profiles<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<ListProfilesResponse, BacktestClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn list_symbols<'life0, 'async_trait>( &'life0 self, request: ListSymbolsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListSymbolsResponse, BacktestClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§