pub enum TurnEndStatus {
Completed,
Interrupted {
reason: Option<String>,
},
Error {
kind: Option<String>,
headline: String,
details: Vec<String>,
},
}Variants§
Completed
Interrupted
Error
Fields
§
kind: Option<String>Stable machine-readable LLM error kind. Absent for non-LLM errors
and events produced by older daemons. Notably "oauth" means the
provider’s sign-in is missing, expired, or revoked, and only
re-authenticating can recover; clients may offer their sign-in
flow for the session’s provider.
Trait Implementations§
Source§impl Clone for TurnEndStatus
impl Clone for TurnEndStatus
Source§fn clone(&self) -> TurnEndStatus
fn clone(&self) -> TurnEndStatus
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 moreSource§impl Debug for TurnEndStatus
impl Debug for TurnEndStatus
Source§impl<'de> Deserialize<'de> for TurnEndStatus
impl<'de> Deserialize<'de> for TurnEndStatus
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
Auto Trait Implementations§
impl Freeze for TurnEndStatus
impl RefUnwindSafe for TurnEndStatus
impl Send for TurnEndStatus
impl Sync for TurnEndStatus
impl Unpin for TurnEndStatus
impl UnsafeUnpin for TurnEndStatus
impl UnwindSafe for TurnEndStatus
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