Skip to main content

AsyncApiClient

Trait AsyncApiClient 

Source
pub trait AsyncApiClient: Send + Sync {
    // Required method
    async fn execute_raw(
        &self,
        request: ApiRequest<()>,
    ) -> SDKResult<RawResponse>;
}
Expand description

异步API客户端特征

Required Methods§

Source

async fn execute_raw(&self, request: ApiRequest<()>) -> SDKResult<RawResponse>

执行原始 API 请求

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§