#[non_exhaustive]pub enum SubagentChangeKind {
Started,
Resumed,
Finished,
Suspended,
Failed,
}Expand description
What happened to a subagent invocation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Started
A new invocation was announced.
Resumed
A suspended invocation was announced again — a continuation, not a second subagent. Move its group from waiting back to running.
Finished
The invocation completed.
Suspended
The invocation paused on interrupts; see SubagentStatus::Suspended.
Failed
The invocation failed.
Trait Implementations§
Source§impl Clone for SubagentChangeKind
impl Clone for SubagentChangeKind
Source§fn clone(&self) -> SubagentChangeKind
fn clone(&self) -> SubagentChangeKind
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 SubagentChangeKind
impl Debug for SubagentChangeKind
Source§impl PartialEq for SubagentChangeKind
impl PartialEq for SubagentChangeKind
Source§fn eq(&self, other: &SubagentChangeKind) -> bool
fn eq(&self, other: &SubagentChangeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubagentChangeKind
Auto Trait Implementations§
impl Freeze for SubagentChangeKind
impl RefUnwindSafe for SubagentChangeKind
impl Send for SubagentChangeKind
impl Sync for SubagentChangeKind
impl Unpin for SubagentChangeKind
impl UnsafeUnpin for SubagentChangeKind
impl UnwindSafe for SubagentChangeKind
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