pub struct CompilationResult {
pub coordinator: TaskSpec,
pub steps: Vec<TaskSpec>,
pub dependencies: HashMap<TaskId, Vec<TaskId>>,
pub node_task_map: HashMap<NodeId, TaskId>,
pub flow_run_id: FlowRunId,
}Expand description
The complete output of compiling a FlowSpec.
Fields§
§coordinator: TaskSpecThe Coordinator task spec (root of the AQ hierarchy).
steps: Vec<TaskSpec>Step task specs, one per FlowSpec node, in topological order.
dependencies: HashMap<TaskId, Vec<TaskId>>Dependency declarations: step TaskId -> Vec of prerequisite TaskIds.
node_task_map: HashMap<NodeId, TaskId>Mapping from FlowSpec NodeId -> AQ TaskId for each step.
flow_run_id: FlowRunIdThe FlowRunId assigned to this compilation.
Trait Implementations§
Source§impl Clone for CompilationResult
impl Clone for CompilationResult
Source§fn clone(&self) -> CompilationResult
fn clone(&self) -> CompilationResult
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 CompilationResult
impl RefUnwindSafe for CompilationResult
impl Send for CompilationResult
impl Sync for CompilationResult
impl Unpin for CompilationResult
impl UnsafeUnpin for CompilationResult
impl UnwindSafe for CompilationResult
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