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