pub enum ValidationCode {
CycleDetected,
UndefinedDependency,
DuplicateStepId,
EmptyStep,
OrphanNode,
SelfDependency,
MissingApprovalGate,
}Expand description
Code identifying the type of validation issue.
Variants§
CycleDetected
Circular dependency detected.
UndefinedDependency
A step references a dependency that doesn’t exist.
DuplicateStepId
Duplicate step IDs.
EmptyStep
A step has no tool or prompt defined.
OrphanNode
A step is unreachable (no path from root).
SelfDependency
A step depends on itself.
MissingApprovalGate
Missing approval gate for high-risk tool.
Trait Implementations§
Source§impl Clone for ValidationCode
impl Clone for ValidationCode
impl Copy for ValidationCode
Source§impl Debug for ValidationCode
impl Debug for ValidationCode
impl Eq for ValidationCode
Source§impl PartialEq for ValidationCode
impl PartialEq for ValidationCode
impl StructuralPartialEq for ValidationCode
Auto Trait Implementations§
impl Freeze for ValidationCode
impl RefUnwindSafe for ValidationCode
impl Send for ValidationCode
impl Sync for ValidationCode
impl Unpin for ValidationCode
impl UnsafeUnpin for ValidationCode
impl UnwindSafe for ValidationCode
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