pub trait BuildableTask: HasTaskId {
// Required method
fn ordering(&self) -> Vec<TaskOrdering>;
// Provided method
fn built_by(&self) -> BuiltByContainer { ... }
}
Expand description
Tasks that are buildable are able to produce a BuiltByContainer
that
describes what tasks are required in order to run the task.
Required Methods§
Sourcefn ordering(&self) -> Vec<TaskOrdering>
fn ordering(&self) -> Vec<TaskOrdering>
Gets the total ordering associated with the task. This includes all types of ordering, including those that aren’t strict dependencies.
See TaskOrdering
for more information
Provided Methods§
Sourcefn built_by(&self) -> BuiltByContainer
fn built_by(&self) -> BuiltByContainer
Gets the tasks that this task depends on