Trait gitlab_runner::JobHandler [−][src]
pub trait JobHandler: Send {
fn step<'life0, 'life1, 'async_trait>(
&'life0 mut self,
script: &'life1 [String],
phase: Phase
) -> Pin<Box<dyn Future<Output = JobResult> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn upload_artifacts<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_uploader: &'life1 mut Uploader
) -> Pin<Box<dyn Future<Output = JobResult> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
{ ... }
fn cleanup<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait,
{ ... }
}Required methods
Provided methods
upload artifacts if requested; provide paths and stuff?