Skip to main content

Overload

pub trait Overload {
    type Output: DeserializeOwned;

    // Required methods
    fn call<'life0, 'async_trait>(
        self,
        api: &'life0 ApiClient,
    ) -> Pin<Box<dyn Future<Output = Result<ResponseEnvelope<Self::Output>, ApiError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn call_raw<'life0, 'async_trait>(
        self,
        api: &'life0 ApiClient,
    ) -> Pin<Box<dyn Future<Output = Result<ResponseEnvelope<Value>, ApiError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

Required Methods§

Source

fn call<'life0, 'async_trait>( self, api: &'life0 ApiClient, ) -> Pin<Box<dyn Future<Output = Result<ResponseEnvelope<Self::Output>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn call_raw<'life0, 'async_trait>( self, api: &'life0 ApiClient, ) -> Pin<Box<dyn Future<Output = Result<ResponseEnvelope<Value>, ApiError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§