pub struct ToolExecutionOutcome {
pub record: ToolCallRecord,
pub intent_cursor: Option<JournalCursor>,
pub terminal_cursor: Option<JournalCursor>,
pub post_tool_policy: Option<PolicyOutcome>,
pub recovery_required: bool,
}Expand description
Holds tool execution outcome application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
Fields§
§record: ToolCallRecordRecord used by this record or request.
intent_cursor: Option<JournalCursor>Cursor identifying a replay, export, or subscription position. Use it to resume without widening the original scope.
terminal_cursor: Option<JournalCursor>Cursor identifying a replay, export, or subscription position. Use it to resume without widening the original scope.
post_tool_policy: Option<PolicyOutcome>Optional post tool policy value. When absent, callers should use the documented default or skip that optional behavior.
recovery_required: boolWhether recovery required is enabled. Policy, validation, or routing code uses this flag to choose the explicit behavior.
Trait Implementations§
Source§impl Clone for ToolExecutionOutcome
impl Clone for ToolExecutionOutcome
Source§fn clone(&self) -> ToolExecutionOutcome
fn clone(&self) -> ToolExecutionOutcome
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 moreAuto Trait Implementations§
impl Freeze for ToolExecutionOutcome
impl RefUnwindSafe for ToolExecutionOutcome
impl Send for ToolExecutionOutcome
impl Sync for ToolExecutionOutcome
impl Unpin for ToolExecutionOutcome
impl UnsafeUnpin for ToolExecutionOutcome
impl UnwindSafe for ToolExecutionOutcome
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