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 AgentEvent 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§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
Source§impl JsonSchema for SubAgentEvent
impl JsonSchema for SubAgentEvent
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto 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
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.