pub trait GitlabClient<Cx>: Send + Sync {
type Error<'req>
where Cx: 'req;
// Required method
fn get_project_list(
self,
query: &GetProjectListQuery<Cx>,
) -> impl Send + Future<Output = Result<Page<Project>, Self::Error<'_>>>;
}Required Associated Types§
Required Methods§
fn get_project_list( self, query: &GetProjectListQuery<Cx>, ) -> impl Send + Future<Output = Result<Page<Project>, Self::Error<'_>>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.