pub enum InvocationStatus {
Completed,
Canceled,
Error,
Unrecognized(String),
}Expand description
Represents the status of a tool invocation.
Variants§
Completed
Completed
Canceled
Canceled
Error
Error
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for InvocationStatus
impl Clone for InvocationStatus
Source§impl Debug for InvocationStatus
impl Debug for InvocationStatus
Source§impl<'de> Deserialize<'de> for InvocationStatus
impl<'de> Deserialize<'de> for InvocationStatus
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 InvocationStatus
Source§impl Hash for InvocationStatus
impl Hash for InvocationStatus
Source§impl PartialEq for InvocationStatus
impl PartialEq for InvocationStatus
Source§impl Serialize for InvocationStatus
impl Serialize for InvocationStatus
impl StructuralPartialEq for InvocationStatus
Auto Trait Implementations§
impl Forget for InvocationStatus
impl Freeze for InvocationStatus
impl RefUnwindSafe for InvocationStatus
impl Send for InvocationStatus
impl Sync for InvocationStatus
impl Unpin for InvocationStatus
impl UnsafeUnpin for InvocationStatus
impl UnwindSafe for InvocationStatus
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