pub enum DecisionFamily {
Retry,
Timeout,
WorkerPlacement,
Concurrency,
CheckpointPlacement,
}Expand description
The family a DecisionEvent belongs to: the closed set of executor
decisions a policy may learn.
The set mirrors the R0.10 priority order. Deliberately absent: model and agent selection (a governed semantic policy, not an automatic one) and interrupt policy (the prevented-error counterfactual is unobservable).
Variants§
Retry
Whether to re-attempt a failed effect, and with what backoff.
Timeout
What timeout/stopping bound to apply to an operation.
WorkerPlacement
Which equivalent worker a remote execution is placed on.
Concurrency
Concurrency/backpressure limits for parallel execution.
CheckpointPlacement
Whether a checkpoint is written at a given boundary (headroom gated on the R0.5 experiment: mandatory after non-idempotent effects).
Trait Implementations§
Source§impl Clone for DecisionFamily
impl Clone for DecisionFamily
impl Copy for DecisionFamily
Source§impl Debug for DecisionFamily
impl Debug for DecisionFamily
Source§impl<'de> Deserialize<'de> for DecisionFamily
impl<'de> Deserialize<'de> for DecisionFamily
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 DecisionFamily
Source§impl Hash for DecisionFamily
impl Hash for DecisionFamily
Source§impl PartialEq for DecisionFamily
impl PartialEq for DecisionFamily
Source§impl Serialize for DecisionFamily
impl Serialize for DecisionFamily
impl StructuralPartialEq for DecisionFamily
Auto Trait Implementations§
impl Freeze for DecisionFamily
impl RefUnwindSafe for DecisionFamily
impl Send for DecisionFamily
impl Sync for DecisionFamily
impl Unpin for DecisionFamily
impl UnsafeUnpin for DecisionFamily
impl UnwindSafe for DecisionFamily
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