Trait gitlab::api::RestClient[][src]

pub trait RestClient {
    type Error: Error + Send + Sync + 'static;
    fn rest_endpoint(
        &self,
        endpoint: &str
    ) -> Result<Url, ApiError<Self::Error>>; }
Expand description

A trait representing a client which can communicate with a GitLab instance via REST.

Associated Types

The errors which may occur for this client.

Required methods

Get the URL for the endpoint for the client.

This method adds the hostname for the client’s target instance.

Implementors