pub enum HarnessEvent {
Token(String),
ToolCall {
id: String,
name: String,
},
ToolResult {
call_id: String,
content: String,
is_error: bool,
},
Supervising,
Revising {
verdict: Verdict,
},
Done {
verdict: Verdict,
iterations: u32,
total_tokens: u64,
status: String,
},
MaxAttemptsReached,
}Variants§
Trait Implementations§
Source§impl Clone for HarnessEvent
impl Clone for HarnessEvent
Source§fn clone(&self) -> HarnessEvent
fn clone(&self) -> HarnessEvent
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 HarnessEvent
impl RefUnwindSafe for HarnessEvent
impl Send for HarnessEvent
impl Sync for HarnessEvent
impl Unpin for HarnessEvent
impl UnsafeUnpin for HarnessEvent
impl UnwindSafe for HarnessEvent
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