pub struct ExecutionPlan {
pub levels: Vec<Vec<TaskId>>,
pub estimated_duration: Duration,
pub critical_path: Vec<TaskId>,
pub parallelism: Vec<usize>,
}Expand description
Execution plan for tasks.
Fields§
§levels: Vec<Vec<TaskId>>Tasks organized by execution level (topological order)
estimated_duration: DurationEstimated total duration
critical_path: Vec<TaskId>Critical path
parallelism: Vec<usize>Parallelism by level
Trait Implementations§
Source§impl Clone for ExecutionPlan
impl Clone for ExecutionPlan
Source§fn clone(&self) -> ExecutionPlan
fn clone(&self) -> ExecutionPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExecutionPlan
impl RefUnwindSafe for ExecutionPlan
impl Send for ExecutionPlan
impl Sync for ExecutionPlan
impl Unpin for ExecutionPlan
impl UnsafeUnpin for ExecutionPlan
impl UnwindSafe for ExecutionPlan
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