#[non_exhaustive]pub enum PipelineDirective {
Complete,
ScheduleAction {
action_id: String,
},
Replan {
suppress_current_action: bool,
},
Throttle {
delay_ms: u64,
retry_current_action: bool,
},
AwaitActiveVerification,
AwaitHumanReview,
Halt,
}Expand description
Side-effect-free command emitted for the runner or scheduler.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Complete
The verified action completed the current objective.
ScheduleAction
Add a named planner or plugin action to the execution queue.
Replan
Re-run planning, optionally excluding the action that produced the outcome.
Fields
Throttle
Apply backpressure before optionally retrying the source action.
Fields
AwaitActiveVerification
Collect active verification evidence before another decision.
AwaitHumanReview
Preserve the case for a human decision.
Halt
Stop adaptation because the global transition budget was exhausted.
Implementations§
Source§impl PipelineDirective
impl PipelineDirective
Sourcepub fn scheduled_action_id(&self) -> Option<&str>
pub fn scheduled_action_id(&self) -> Option<&str>
Returns the explicitly scheduled action, if any.
Trait Implementations§
Source§impl Clone for PipelineDirective
impl Clone for PipelineDirective
Source§fn clone(&self) -> PipelineDirective
fn clone(&self) -> PipelineDirective
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 PipelineDirective
impl Debug for PipelineDirective
Source§impl<'de> Deserialize<'de> for PipelineDirective
impl<'de> Deserialize<'de> for PipelineDirective
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 PipelineDirective
Source§impl PartialEq for PipelineDirective
impl PartialEq for PipelineDirective
Source§impl Serialize for PipelineDirective
impl Serialize for PipelineDirective
impl StructuralPartialEq for PipelineDirective
Auto Trait Implementations§
impl Freeze for PipelineDirective
impl RefUnwindSafe for PipelineDirective
impl Send for PipelineDirective
impl Sync for PipelineDirective
impl Unpin for PipelineDirective
impl UnsafeUnpin for PipelineDirective
impl UnwindSafe for PipelineDirective
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more