pub enum SignalKind {
ExecutionSuccess,
ExecutionFailure {
error: String,
},
UserOverrideAtBreakpoint {
reason: Option<String>,
},
AutoFixApplied {
step: String,
},
NewPatternProposal {
origin_context: String,
},
}Expand description
What happened to the target.
Variants§
ExecutionSuccess
Workflow/step using this pattern completed successfully. (Channel 1)
ExecutionFailure
Workflow/step using this pattern failed. (Channel 1)
UserOverrideAtBreakpoint
User rejected a breakpoint while this pattern was active. (Channel 1, 3x weight)
AutoFixApplied
AutoFix ran on a step that used this pattern. (Channel 1, signals pattern inadequacy)
NewPatternProposal
Proposal to add a new pattern. (Channel 2 — chat extraction, Channel 3 — procedural)
Trait Implementations§
Source§impl Clone for SignalKind
impl Clone for SignalKind
Source§fn clone(&self) -> SignalKind
fn clone(&self) -> SignalKind
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 SignalKind
impl Debug for SignalKind
Source§impl<'de> Deserialize<'de> for SignalKind
impl<'de> Deserialize<'de> for SignalKind
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
Auto Trait Implementations§
impl Freeze for SignalKind
impl RefUnwindSafe for SignalKind
impl Send for SignalKind
impl Sync for SignalKind
impl Unpin for SignalKind
impl UnsafeUnpin for SignalKind
impl UnwindSafe for SignalKind
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