pub struct RuntimeTurnStateHandle { /* private fields */ }Expand description
Runtime-backed TurnStateHandle impl.
Implementations§
Trait Implementations§
Source§impl Debug for RuntimeTurnStateHandle
impl Debug for RuntimeTurnStateHandle
Source§impl TurnStateHandle for RuntimeTurnStateHandle
impl TurnStateHandle for RuntimeTurnStateHandle
fn start_conversation_run( &self, run_id: RunId, primitive_kind: TurnPrimitiveKind, admitted_content_shape: ContentShape, vision_enabled: bool, image_tool_results_enabled: bool, max_extraction_retries: u64, ) -> Result<(), DslTransitionError>
fn start_immediate_append( &self, run_id: RunId, ) -> Result<(), DslTransitionError>
fn start_immediate_context( &self, run_id: RunId, ) -> Result<(), DslTransitionError>
fn primitive_applied(&self) -> Result<(), DslTransitionError>
fn llm_returned_tool_calls( &self, tool_count: u64, ) -> Result<(), DslTransitionError>
fn llm_returned_terminal(&self) -> Result<(), DslTransitionError>
fn register_pending_ops( &self, op_refs: BTreeSet<AsyncOpRef>, barrier_operation_ids: BTreeSet<OperationId>, ) -> Result<(), DslTransitionError>
fn tool_calls_resolved(&self) -> Result<(), DslTransitionError>
fn ops_barrier_satisfied( &self, operation_ids: BTreeSet<OperationId>, ) -> Result<(), DslTransitionError>
fn boundary_continue(&self) -> Result<(), DslTransitionError>
fn boundary_complete(&self) -> Result<(), DslTransitionError>
fn enter_extraction(&self, max_retries: u32) -> Result<(), DslTransitionError>
fn extraction_start(&self) -> Result<(), DslTransitionError>
fn extraction_validation_passed(&self) -> Result<(), DslTransitionError>
fn extraction_validation_failed( &self, error: String, ) -> Result<(), DslTransitionError>
fn extraction_failed(&self, error: String) -> Result<(), DslTransitionError>
fn recoverable_failure( &self, retry: LlmRetrySchedule, ) -> Result<(), DslTransitionError>
fn fatal_failure( &self, reason: TurnFailureReason, ) -> Result<(), DslTransitionError>
fn retry_requested(&self, retry_attempt: u32) -> Result<(), DslTransitionError>
fn cancel_now(&self) -> Result<(), DslTransitionError>
fn request_cancel_after_boundary(&self) -> Result<(), DslTransitionError>
fn cancellation_observed(&self) -> Result<(), DslTransitionError>
fn acknowledge_terminal( &self, outcome: TurnTerminalOutcome, ) -> Result<(), DslTransitionError>
fn turn_limit_reached(&self) -> Result<(), DslTransitionError>
fn budget_exhausted(&self) -> Result<(), DslTransitionError>
fn time_budget_exceeded(&self) -> Result<(), DslTransitionError>
fn force_cancel_no_run(&self) -> Result<(), DslTransitionError>
fn run_completed(&self, _run_id: RunId) -> Result<(), DslTransitionError>
fn run_failed( &self, _run_id: RunId, _reason: TurnFailureReason, ) -> Result<(), DslTransitionError>
fn run_cancelled(&self, _run_id: RunId) -> Result<(), DslTransitionError>
fn snapshot(&self) -> TurnStateSnapshot
Auto Trait Implementations§
impl Freeze for RuntimeTurnStateHandle
impl RefUnwindSafe for RuntimeTurnStateHandle
impl Send for RuntimeTurnStateHandle
impl Sync for RuntimeTurnStateHandle
impl Unpin for RuntimeTurnStateHandle
impl UnsafeUnpin for RuntimeTurnStateHandle
impl UnwindSafe for RuntimeTurnStateHandle
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