pub enum TurnResult {
Completed {
final_output: ModelOutput,
},
Interrupted {
cause: TurnInterruption,
},
}Expand description
The selected execution result, without an implicit execution history.
Variants§
Completed
A final model output was committed.
Fields
§
final_output: ModelOutputLast complete output, including usage and reasoning.
Interrupted
Controlled termination with all committed materials returned.
Fields
§
cause: TurnInterruptionThe precise stage failure or control reason.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TurnResult
impl RefUnwindSafe for TurnResult
impl Send for TurnResult
impl Sync for TurnResult
impl Unpin for TurnResult
impl UnsafeUnpin for TurnResult
impl UnwindSafe for TurnResult
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