pub trait RestClient { type Error; // Required method fn rest_endpoint(&self, path: &str) -> Result<Url, APIError<Self::Error>>; }
A trait representing a client which can communicate with an instance via REST.
The errors which may occur for this client.
Get the URL for the endpoint for the client.
This method adds the hostname for the client’s target instance.