pub trait Task:
UpToDate
+ InitializeTask
+ CreateTask
+ TaskIO
+ Sized
+ Debug {
// Required method
fn task_action(
_task: &mut Executable<Self>,
_project: &Project,
) -> BuildResult;
// Provided method
fn did_work(&self) -> bool { ... }
}Required Methods§
Sourcefn task_action(_task: &mut Executable<Self>, _project: &Project) -> BuildResult
fn task_action(_task: &mut Executable<Self>, _project: &Project) -> BuildResult
The action that the task performs
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".