pub trait Client: Send + Sync {
fn do_alloc_job<'life0, 'async_trait>(
&'life0 self,
tc: Toolchain
) -> Pin<Box<dyn Future<Output = Result<AllocJobResult>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn do_get_status<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<SchedulerStatusResult>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn do_submit_toolchain<'life0, 'async_trait>(
&'life0 self,
job_alloc: JobAlloc,
tc: Toolchain
) -> Pin<Box<dyn Future<Output = Result<SubmitToolchainResult>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn do_run_job<'life0, 'async_trait>(
&'life0 self,
job_alloc: JobAlloc,
command: CompileCommand,
outputs: Vec<String>,
inputs_packager: Box<dyn InputsPackager>
) -> Pin<Box<dyn Future<Output = Result<(RunJobResult, PathTransformer)>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn put_toolchain<'life0, 'async_trait>(
&'life0 self,
compiler_path: PathBuf,
weak_key: String,
toolchain_packager: Box<dyn ToolchainPackager>
) -> Pin<Box<dyn Future<Output = Result<(Toolchain, Option<(String, PathBuf)>)>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn rewrite_includes_only(&self) -> bool;
fn get_custom_toolchain(&self, exe: &Path) -> Option<PathBuf>;
}