pub trait Buildable:
Send
+ Sync
+ Debug {
// Required method
fn get_dependencies(
&self,
project: &Project,
) -> Result<HashSet<TaskId>, PayloadError<ProjectError>>;
}Expand description
The tasks that are required to be built by this project to make this object. If this is a task, the task is also included.
Required Methods§
Sourcefn get_dependencies(
&self,
project: &Project,
) -> Result<HashSet<TaskId>, PayloadError<ProjectError>>
fn get_dependencies( &self, project: &Project, ) -> Result<HashSet<TaskId>, PayloadError<ProjectError>>
Gets the dependencies required to build this task
Trait Implementations§
Source§impl Buildable for Box<dyn Buildable + '_>
impl Buildable for Box<dyn Buildable + '_>
Source§fn get_dependencies(
&self,
project: &Project,
) -> Result<HashSet<TaskId>, PayloadError<ProjectError>>
fn get_dependencies( &self, project: &Project, ) -> Result<HashSet<TaskId>, PayloadError<ProjectError>>
Gets the dependencies required to build this task