Type Alias TurnAdmission
pub type TurnAdmission = Box<dyn FnOnce(&mut Agent) -> Result<(), TurnRefusal> + Send>;Expand description
Judges a turn’s caller on the Agent guard the turn runs under, after the last wait before the turn, and applies the caller’s tool posture to that Agent. A refusal stops the turn before it touches the Agent.
Aliased Type§
pub struct TurnAdmission(/* private fields */);