pub enum SequentialGraphPlan {
RunStep {
step_id: String,
attempt: u32,
context_from: Vec<String>,
},
RunFanout {
group_id: String,
step_ids: Vec<String>,
attempts: BTreeMap<String, u32>,
context_from: BTreeMap<String, Vec<String>>,
},
Complete,
Failed {
step_id: String,
reason: String,
sync_decision: Option<FanoutSyncDecision>,
},
Blocked {
step_id: String,
reason: String,
sync_decision: Option<FanoutSyncDecision>,
},
Paused {
step_id: String,
reason: String,
sync_decision: FanoutSyncDecision,
},
Escalated {
step_id: String,
reason: String,
sync_decision: FanoutSyncDecision,
},
}Variants§
Trait Implementations§
Source§impl Clone for SequentialGraphPlan
impl Clone for SequentialGraphPlan
Source§fn clone(&self) -> SequentialGraphPlan
fn clone(&self) -> SequentialGraphPlan
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 Debug for SequentialGraphPlan
impl Debug for SequentialGraphPlan
Source§impl<'de> Deserialize<'de> for SequentialGraphPlan
impl<'de> Deserialize<'de> for SequentialGraphPlan
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
Source§impl PartialEq for SequentialGraphPlan
impl PartialEq for SequentialGraphPlan
Source§fn eq(&self, other: &SequentialGraphPlan) -> bool
fn eq(&self, other: &SequentialGraphPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SequentialGraphPlan
impl Serialize for SequentialGraphPlan
impl StructuralPartialEq for SequentialGraphPlan
Auto Trait Implementations§
impl Freeze for SequentialGraphPlan
impl RefUnwindSafe for SequentialGraphPlan
impl Send for SequentialGraphPlan
impl Sync for SequentialGraphPlan
impl Unpin for SequentialGraphPlan
impl UnsafeUnpin for SequentialGraphPlan
impl UnwindSafe for SequentialGraphPlan
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