pub trait AsyncClient: RestClient {
// Required method
fn rest_async(
&self,
request: RequestBuilder,
body: Vec<u8>,
) -> impl Future<Output = Result<Response<Bytes>, ApiError<Self::Error>>> + Send;
}
Expand description
A trait representing an asynchronous client which can communicate with a generic instance.
Required Methods§
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.