pub trait AsyncApiClient: Send + Sync {
// Required method
async fn execute_raw(
&self,
request: ApiRequest<()>,
) -> Result<RawResponse, CoreError>;
}Expand description
异步API客户端特征
Required Methods§
async fn execute_raw( &self, request: ApiRequest<()>, ) -> Result<RawResponse, CoreError>
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.