pub struct CoordinatorPayload {
pub task_type: TaskType,
pub flow_spec: FlowSpec,
pub flow_run_id: FlowRunId,
pub node_task_map: HashMap<NodeId, TaskId>,
pub dependencies: HashMap<TaskId, Vec<TaskId>>,
}Expand description
Payload for the Coordinator task. Contains everything needed to orchestrate a FlowRun.
Fields§
§task_type: TaskTypeDiscriminator for the multiplexed handler.
flow_spec: FlowSpecThe FlowSpec being executed (immutable after compilation).
flow_run_id: FlowRunIdThe assigned FlowRunId.
node_task_map: HashMap<NodeId, TaskId>Pre-computed NodeId -> TaskId mapping.
dependencies: HashMap<TaskId, Vec<TaskId>>Pre-computed dependency declarations.
Trait Implementations§
Source§impl Clone for CoordinatorPayload
impl Clone for CoordinatorPayload
Source§fn clone(&self) -> CoordinatorPayload
fn clone(&self) -> CoordinatorPayload
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 moreSource§impl Debug for CoordinatorPayload
impl Debug for CoordinatorPayload
Source§impl<'de> Deserialize<'de> for CoordinatorPayload
impl<'de> Deserialize<'de> for CoordinatorPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CoordinatorPayload
impl RefUnwindSafe for CoordinatorPayload
impl Send for CoordinatorPayload
impl Sync for CoordinatorPayload
impl Unpin for CoordinatorPayload
impl UnsafeUnpin for CoordinatorPayload
impl UnwindSafe for CoordinatorPayload
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