pub enum HarnessStatus {
Working,
Idle,
NeedsInput,
Error,
}Variants§
Working
Producing tokens or running a tool.
Idle
Waiting for input.
NeedsInput
Blocked on a question / permission prompt.
Error
Exited non-zero or hit a provider error.
Implementations§
Trait Implementations§
Source§impl Clone for HarnessStatus
impl Clone for HarnessStatus
impl Copy for HarnessStatus
Source§impl Debug for HarnessStatus
impl Debug for HarnessStatus
Source§impl<'de> Deserialize<'de> for HarnessStatus
impl<'de> Deserialize<'de> for HarnessStatus
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 HarnessStatus
Source§impl PartialEq for HarnessStatus
impl PartialEq for HarnessStatus
Source§impl Serialize for HarnessStatus
impl Serialize for HarnessStatus
impl StructuralPartialEq for HarnessStatus
Auto Trait Implementations§
impl Forget for HarnessStatus
impl Freeze for HarnessStatus
impl Move for HarnessStatus
impl RefUnwindSafe for HarnessStatus
impl Send for HarnessStatus
impl Sync for HarnessStatus
impl Unpin for HarnessStatus
impl UnsafeUnpin for HarnessStatus
impl UnwindSafe for HarnessStatus
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.