pub trait PostLoopPolicy: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn evaluate(&self, ctx: &PolicyContext<'_>) -> PolicyVerdict;
}Expand description
Slot 4: Evaluated after the inner loop exits, before follow-up polling.
Use for cleanup, cooldown, or rate limiting between outer loop iterations.
Required Methods§
Sourcefn evaluate(&self, ctx: &PolicyContext<'_>) -> PolicyVerdict
fn evaluate(&self, ctx: &PolicyContext<'_>) -> PolicyVerdict
Evaluate the policy. Returns PolicyVerdict.