Trait gitlab::api::endpoint_prelude::Client [−][src]
pub trait Client {
type Error: Error + Send + Sync + 'static;
fn rest_endpoint(
&self,
endpoint: &str
) -> Result<Url, ApiError<Self::Error>>;
fn rest(
&self,
request: RequestBuilder,
body: Vec<u8>
) -> Result<Response<Bytes>, ApiError<Self::Error>>;
}Expand description
A trait representing a client which can communicate with a GitLab instance.