pub enum EdgeOutcome {
Pass,
Fail,
Always,
}Expand description
Conditional routing outcome on an outgoing edge.
Passfires when the source node terminal status isSucceeded.Failfires when the source node terminal status isFailedorSkipped.Alwaysfires regardless of the source’s outcome - the default for unconditional edges.
Variants§
Trait Implementations§
Source§impl Clone for EdgeOutcome
impl Clone for EdgeOutcome
Source§fn clone(&self) -> EdgeOutcome
fn clone(&self) -> EdgeOutcome
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 EdgeOutcome
impl Debug for EdgeOutcome
Source§impl Default for EdgeOutcome
impl Default for EdgeOutcome
Source§fn default() -> EdgeOutcome
fn default() -> EdgeOutcome
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EdgeOutcome
impl<'de> Deserialize<'de> for EdgeOutcome
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 EdgeOutcome
impl PartialEq for EdgeOutcome
Source§impl Serialize for EdgeOutcome
impl Serialize for EdgeOutcome
impl Copy for EdgeOutcome
impl Eq for EdgeOutcome
impl StructuralPartialEq for EdgeOutcome
Auto Trait Implementations§
impl Freeze for EdgeOutcome
impl RefUnwindSafe for EdgeOutcome
impl Send for EdgeOutcome
impl Sync for EdgeOutcome
impl Unpin for EdgeOutcome
impl UnsafeUnpin for EdgeOutcome
impl UnwindSafe for EdgeOutcome
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