pub enum PausePoint {
AwaitingApproval {
prepared: PreparedApproval,
deadline: Option<Duration>,
},
PausedForSteering,
}Expand description
Where a turn paused. The execution stack currently emits only the
approval position; the steering position exists so hosts that suspend
before a model round produce a continuation the same resume machinery
consumes (the pause point and the round together define the next step —
never free-floating Options).
Variants§
AwaitingApproval
The approval gate paused behind a hook-prepared batch.
Fields
§
prepared: PreparedApprovalThe hook’s prepared work awaiting the host’s decision.
PausedForSteering
Paused before a model round so the host can steer; no batch awaits (a steering continuation over a turn with unanswered tool calls is rejected at resume — the batch could never be answered).
Trait Implementations§
Source§impl Clone for PausePoint
impl Clone for PausePoint
Source§fn clone(&self) -> PausePoint
fn clone(&self) -> PausePoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PausePoint
impl Debug for PausePoint
Source§impl<'de> Deserialize<'de> for PausePoint
impl<'de> Deserialize<'de> for PausePoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PausePoint
impl RefUnwindSafe for PausePoint
impl Send for PausePoint
impl Sync for PausePoint
impl Unpin for PausePoint
impl UnsafeUnpin for PausePoint
impl UnwindSafe for PausePoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more