Trait Overload
Source 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;
}