pub trait Client: RestClient {
// Required method
fn rest(
&self,
request: Request<Vec<u8>>,
) -> Result<Response<Bytes>, APIError<Self::Error>>;
}Expand description
A trait representing a client.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".