pub struct TurnError {
pub error: LlmError,
pub iterations: u32,
pub total_usage: Usage,
}Expand description
Terminal: the loop errored.
Fields§
§error: LlmErrorThe error.
iterations: u32Iterations completed before the error.
total_usage: UsageUsage accumulated before the error.
Auto Trait Implementations§
impl Freeze for TurnError
impl !RefUnwindSafe for TurnError
impl Send for TurnError
impl Sync for TurnError
impl Unpin for TurnError
impl !UnwindSafe for TurnError
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