pub trait RestClient {
type Error: Error + Send + Sync + 'static;
// Required method
fn rest_endpoint(
&self,
endpoint: &str,
) -> Result<Url, ApiError<Self::Error>>;
}
Expand description
A trait representing a client which can communicate with a generic instance via REST.