pub struct ExecutionOrderer { /* private fields */ }Expand description
Determines execution order and parallelization points
Implementations§
Source§impl ExecutionOrderer
impl ExecutionOrderer
Sourcepub fn new(graph: DependencyGraph) -> Self
pub fn new(graph: DependencyGraph) -> Self
Creates a new execution orderer
Sourcepub fn determine_order(&self, projects: &[Project]) -> Result<Vec<String>>
pub fn determine_order(&self, projects: &[Project]) -> Result<Vec<String>>
Determines the execution order for a set of projects
Sourcepub fn create_execution_plan(
&self,
projects: &[Project],
strategy: ParallelizationStrategy,
) -> Result<ExecutionPlan>
pub fn create_execution_plan( &self, projects: &[Project], strategy: ParallelizationStrategy, ) -> Result<ExecutionPlan>
Creates an execution plan with parallelization points
Auto Trait Implementations§
impl Freeze for ExecutionOrderer
impl RefUnwindSafe for ExecutionOrderer
impl Send for ExecutionOrderer
impl Sync for ExecutionOrderer
impl Unpin for ExecutionOrderer
impl UnwindSafe for ExecutionOrderer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more