pub enum TurnResult<T> {
Continue(Option<T>),
Complete(T),
}Expand description
Result of processing a single turn in the agent’s execution
Variants§
Continue(Option<T>)
Continue processing with optional intermediate data
Complete(T)
Final result obtained
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for TurnResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for TurnResult<T>where
T: RefUnwindSafe,
impl<T> Send for TurnResult<T>where
T: Send,
impl<T> Sync for TurnResult<T>where
T: Sync,
impl<T> Unpin for TurnResult<T>where
T: Unpin,
impl<T> UnwindSafe for TurnResult<T>where
T: 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