pub enum HarnessEvent {
Started {
model: Option<String>,
},
Text {
text: String,
},
Tool {
name: String,
detail: String,
},
}Expand description
What a harness reports while a job runs, reduced to what onerig shows.
Variants§
Trait Implementations§
Source§impl Clone for HarnessEvent
impl Clone for HarnessEvent
Source§impl Debug for HarnessEvent
impl Debug for HarnessEvent
Source§impl<'de> Deserialize<'de> for HarnessEvent
impl<'de> Deserialize<'de> for HarnessEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HarnessEvent
Source§impl PartialEq for HarnessEvent
impl PartialEq for HarnessEvent
Source§impl Serialize for HarnessEvent
impl Serialize for HarnessEvent
impl StructuralPartialEq for HarnessEvent
Auto Trait Implementations§
impl Forget for HarnessEvent
impl Freeze for HarnessEvent
impl Move for HarnessEvent
impl RefUnwindSafe for HarnessEvent
impl Send for HarnessEventwhere
RawVecInner: Send,
impl Sync for HarnessEventwhere
RawVecInner: Sync,
impl Unpin for HarnessEvent
impl UnsafeUnpin for HarnessEvent
impl UnwindSafe for HarnessEventwhere
RawVecInner: 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