MiscAPI

Trait MiscAPI 

Source
pub trait MiscAPI {
    // Required methods
    fn get_me<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = CryptoBotResult<GetMeResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_currencies<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = CryptoBotResult<Vec<Currency>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_stats<'life0, 'life1, 'async_trait>(
        &'life0 self,
        params: Option<&'life1 GetStatsParams>,
    ) -> Pin<Box<dyn Future<Output = CryptoBotResult<AppStats>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn get_me<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = CryptoBotResult<GetMeResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_currencies<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = CryptoBotResult<Vec<Currency>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_stats<'life0, 'life1, 'async_trait>( &'life0 self, params: Option<&'life1 GetStatsParams>, ) -> Pin<Box<dyn Future<Output = CryptoBotResult<AppStats>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§