pub enum EdgeKind {
Show 14 variants
Sequence,
Context,
Tool,
Success,
Failure,
Conditional,
Fallback,
Approval,
Requires,
Reject,
Blocks,
Escalates,
Invalidates,
Supersedes,
}Expand description
What an edge means. Executable kinds move a run forward; the rest express relationships between nodes.
Variants§
Sequence
Plain ordering: the target follows the source.
Context
The source supplies context to the target.
Tool
The source invokes the target as a tool.
Success
Taken when the source succeeds.
Failure
Taken when the source fails.
Conditional
Taken only when explicitly selected by id; never inferred.
Fallback
Recovery path taken when the source fails.
Approval
Taken when a gate approves.
Requires
The target requires the source to have completed.
Reject
Taken when a gate rejects.
Blocks
The source prevents the target from proceeding.
Escalates
The source escalates to the target.
Invalidates
The source invalidates the target’s result.
Supersedes
The source replaces the target.
Trait Implementations§
impl Copy for EdgeKind
Source§impl<'de> Deserialize<'de> for EdgeKind
impl<'de> Deserialize<'de> for EdgeKind
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 Eq for EdgeKind
impl StructuralPartialEq for EdgeKind
Auto Trait Implementations§
impl Freeze for EdgeKind
impl RefUnwindSafe for EdgeKind
impl Send for EdgeKind
impl Sync for EdgeKind
impl Unpin for EdgeKind
impl UnsafeUnpin for EdgeKind
impl UnwindSafe for EdgeKind
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