pub trait HumanGate: Send + Sync {
// Required method
fn decide(&self, level: LoopLevel, action: &ProposedAction) -> GateDecision;
}Expand description
Decides what happens to a verified proposal. Implementations encode the human-gate policy; the engine consults this once per round.
Required Methods§
fn decide(&self, level: LoopLevel, action: &ProposedAction) -> GateDecision
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".