pub struct TypedOutcome<T> {
pub value: T,
pub outcome: RunOutcome,
pub repaired: bool,
}Expand description
An agent run’s typed final answer.
Fields§
§value: T§outcome: RunOutcomeThe run that produced it (after the repair, if one was needed).
repaired: boolTrait Implementations§
Source§impl<T: Clone> Clone for TypedOutcome<T>
impl<T: Clone> Clone for TypedOutcome<T>
Auto Trait Implementations§
impl<T> Forget for TypedOutcome<T>
impl<T> Freeze for TypedOutcome<T>where
T: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<EffectKey>: Freeze,
PhantomData<String>: Freeze,
*const ApprovalCard is !null: Freeze,
PhantomData<ApprovalCard>: Freeze,
PhantomData<Message>: Freeze,
PhantomData<Receipt>: Freeze,
PhantomData<ToolCall>: Freeze,
*const RunState is !null: Freeze,
PhantomData<RunState>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Observation>: Freeze,
*const ArcInner<Mutex<Vec<EffectKey>>> is !null: Freeze,
PhantomData<ArcInner<Mutex<Vec<EffectKey>>>>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
PhantomData<ToolLoad>: Freeze,
impl<T> Move for TypedOutcome<T>
impl<T> RefUnwindSafe for TypedOutcome<T>
impl<T> Send for TypedOutcome<T>
impl<T> Sync for TypedOutcome<T>
impl<T> Unpin for TypedOutcome<T>
impl<T> UnsafeUnpin for TypedOutcome<T>where
T: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<EffectKey>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const ApprovalCard is !null: UnsafeUnpin,
PhantomData<ApprovalCard>: UnsafeUnpin,
PhantomData<Message>: UnsafeUnpin,
PhantomData<Receipt>: UnsafeUnpin,
PhantomData<ToolCall>: UnsafeUnpin,
*const RunState is !null: UnsafeUnpin,
PhantomData<RunState>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Observation>: UnsafeUnpin,
*const ArcInner<Mutex<Vec<EffectKey>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<Vec<EffectKey>>>>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
PhantomData<ToolLoad>: UnsafeUnpin,
impl<T> UnwindSafe for TypedOutcome<T>where
T: UnwindSafe,
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BoxRaw<ApprovalCard>: UnwindSafe,
BoxRaw<RunState>: UnwindSafe,
Arc<Mutex<Vec<EffectKey>>>: UnwindSafe,
BTreeMap<String, SetValZST>: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more