Skip to main content

SessionSetGuard

Trait SessionSetGuard 

Source
pub trait SessionSetGuard: Send + Sync {
    // Required method
    fn session_begin(&self, frame: FrameInfo);
}
Expand description

The §9 guard surface a drain boundary calls: implemented by HookBus and injected where the loop drivers know the session’s identity. This is not an eighth interception port (§4’s seven are frozen); it is the consistency guard’s own seam, called at drain/claim boundaries, never mid-turn.

Required Methods§

Source

fn session_begin(&self, frame: FrameInfo)

§9.2 steps 1–4 for one drain begin: record at first sight, recompute and compare after. (The method name avoids the drain_ prefix the superagent iron-rule grep forbids in bundle sources.)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§