pub struct DirectedTurnWindow {
pub expected_member: BridgeMemberIncarnation,
pub subscription: EventStream,
pub window_start: u64,
pub generation: u64,
pub fence_token: u64,
pub input_id: String,
pub tracking: DirectedTurnTracking,
}Expand description
Pre-accept event window for a directed turn (DEC-P6E-16’s atomicity
letter: the subscription exists BEFORE accept_input_with_completion
runs, so no terminal can slip between accept and watch).
Fields§
§expected_member: BridgeMemberIncarnationFull host residency captured with the durable Pending reservation. Every later cancel/admit/record uses this tuple rather than re-deriving authority from a possibly replaced session projection.
subscription: EventStreamLive session-events subscription opened before acceptance.
window_start: u64Durable watermark at open (+1 = first seq that can belong to this
window). The terminal_seq binder scans forward from here.
generation: u64Member generation at open.
fence_token: u64Materialization fence paired with generation.
input_id: StringExact directed-turn input id reserved before runtime acceptance.
tracking: DirectedTurnTrackingWhether the host persisted/replayed Pending or found an already terminal exact key. Terminal replay needs no watcher.
Implementations§
Source§impl DirectedTurnWindow
impl DirectedTurnWindow
Sourcepub fn admission_request(&self) -> DirectedTurnAdmissionRequest
pub fn admission_request(&self) -> DirectedTurnAdmissionRequest
Snapshot the exact durable reservation facts used by the final admission revalidation. The live subscription remains owned by this window for the terminal watcher.