pub trait TaskAction<T>: Sendwhere
T: Task,{
// Required method
fn execute(
&self,
task: &mut Executable<T>,
project: &Project,
) -> Result<(), PayloadError<BuildException>>;
}
Expand description
Represents some work that can be done by a task
Required Methods§
Sourcefn execute(
&self,
task: &mut Executable<T>,
project: &Project,
) -> Result<(), PayloadError<BuildException>>
fn execute( &self, task: &mut Executable<T>, project: &Project, ) -> Result<(), PayloadError<BuildException>>
Executes the task action on some executable task along with it’s owning project.