Skip to main content

BacktestAdminClient

Trait BacktestAdminClient 

Source
pub trait BacktestAdminClient: Send + Sync {
    // Required methods
    fn add_profile<'life0, 'async_trait>(
        &'life0 self,
        request: AddProfileRequest,
    ) -> Pin<Box<dyn Future<Output = Result<AddProfileResponse, BacktestClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn remove_profile<'life0, 'async_trait>(
        &'life0 self,
        request: RemoveProfileRequest,
    ) -> Pin<Box<dyn Future<Output = Result<RemoveProfileResponse, BacktestClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn reload_profiles<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<ReloadProfilesResponse, BacktestClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Provider-neutral client port for runtime profile administration.

Required Methods§

Source

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

Source

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

Source

fn reload_profiles<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<ReloadProfilesResponse, 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§