pub enum DagExecutionResponse<Compact, IdType> {
EntryFanOut {
node_task_ids: HashMap<NodeIndex, TaskId<IdType>>,
},
FanOut {
response: Compact,
node_task_ids: HashMap<NodeIndex, TaskId<IdType>>,
},
EnqueuedNext {
result: Compact,
},
WaitingForDependencies {
pending_dependencies: HashMap<NodeIndex, TaskId<IdType>>,
},
Complete {
result: Compact,
},
}Expand description
Response from DAG execution step
Variants§
EntryFanOut
Entry nodes have been fanned out
FanOut
Next tasks have been fanned out
Fields
§
response: CompactResult of the current task
EnqueuedNext
Next task has been enqueued
Fields
§
result: CompactResult of the current task
WaitingForDependencies
Waiting for dependencies to complete
Fields
Complete
DAG execution is complete
Fields
§
result: CompactResult of the final task
Trait Implementations§
Source§impl<Compact: Clone, IdType: Clone> Clone for DagExecutionResponse<Compact, IdType>
impl<Compact: Clone, IdType: Clone> Clone for DagExecutionResponse<Compact, IdType>
Source§fn clone(&self) -> DagExecutionResponse<Compact, IdType>
fn clone(&self) -> DagExecutionResponse<Compact, IdType>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de, Compact, IdType> Deserialize<'de> for DagExecutionResponse<Compact, IdType>where
Compact: Deserialize<'de>,
IdType: Deserialize<'de>,
impl<'de, Compact, IdType> Deserialize<'de> for DagExecutionResponse<Compact, IdType>where
Compact: Deserialize<'de>,
IdType: Deserialize<'de>,
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
impl<Compact: Eq, IdType: Eq> Eq for DagExecutionResponse<Compact, IdType>
Source§impl<Compact: PartialEq, IdType: PartialEq> PartialEq for DagExecutionResponse<Compact, IdType>
impl<Compact: PartialEq, IdType: PartialEq> PartialEq for DagExecutionResponse<Compact, IdType>
Source§impl<Compact, IdType> Serialize for DagExecutionResponse<Compact, IdType>
impl<Compact, IdType> Serialize for DagExecutionResponse<Compact, IdType>
impl<Compact: PartialEq, IdType: PartialEq> StructuralPartialEq for DagExecutionResponse<Compact, IdType>
Auto Trait Implementations§
impl<Compact, IdType> Freeze for DagExecutionResponse<Compact, IdType>where
Compact: Freeze,
impl<Compact, IdType> RefUnwindSafe for DagExecutionResponse<Compact, IdType>where
Compact: RefUnwindSafe,
IdType: RefUnwindSafe,
impl<Compact, IdType> Send for DagExecutionResponse<Compact, IdType>
impl<Compact, IdType> Sync for DagExecutionResponse<Compact, IdType>
impl<Compact, IdType> Unpin for DagExecutionResponse<Compact, IdType>
impl<Compact, IdType> UnsafeUnpin for DagExecutionResponse<Compact, IdType>where
Compact: UnsafeUnpin,
impl<Compact, IdType> UnwindSafe for DagExecutionResponse<Compact, IdType>where
Compact: UnwindSafe,
IdType: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.