pub enum SubAgentEvent {
ToolCall {
request: SubAgentToolRequest,
},
ToolCallUpdate {
update: SubAgentToolCallUpdate,
},
ToolResult {
result: SubAgentToolResult,
},
ToolError {
error: SubAgentToolError,
},
Done,
Other,
}Expand description
Subset of agent message variants relevant for sub-agent status display.
The ACP server (aether-cli) converts AgentMessage to this type before
serializing, so the wire format only contains these known variants.
Variants§
ToolCall
Fields
§
request: SubAgentToolRequestToolCallUpdate
Fields
§
update: SubAgentToolCallUpdateToolResult
Fields
§
result: SubAgentToolResultToolError
Fields
§
error: SubAgentToolErrorDone
Other
Trait Implementations§
Source§impl Clone for SubAgentEvent
impl Clone for SubAgentEvent
Source§fn clone(&self) -> SubAgentEvent
fn clone(&self) -> SubAgentEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 SubAgentEvent
impl Debug for SubAgentEvent
Source§impl<'de> Deserialize<'de> for SubAgentEvent
impl<'de> Deserialize<'de> for SubAgentEvent
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 SubAgentEvent
impl RefUnwindSafe for SubAgentEvent
impl Send for SubAgentEvent
impl Sync for SubAgentEvent
impl Unpin for SubAgentEvent
impl UnsafeUnpin for SubAgentEvent
impl UnwindSafe for SubAgentEvent
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