pub trait AsyncClient: RestClient {
    fn rest_async<'life0, 'async_trait>(
        &'life0 self,
        request: RequestBuilder,
        body: Vec<u8>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Bytes>, ApiError<Self::Error>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

A trait representing an asynchronous client which can communicate with a GitLab instance.

Required Methods

Send a REST query asynchronously.

Implementors