pub enum AgentMessageType {
TaskRequest,
TaskResponse,
Query,
QueryResponse,
Notification,
Coordination,
Error,
SpawnRequest,
SpawnConfirmation,
SwarmCoordination,
SwarmResult,
}Expand description
Types of agent-to-agent messages
Variants§
TaskRequest
Request for task execution
TaskResponse
Response to a task request
Query
Query for information
QueryResponse
Response to a query
Notification
Notification
Coordination
Coordination message for multi-agent tasks
Error
Error message
SpawnRequest
Request to spawn a new sub-agent
SpawnConfirmation
Confirmation that a sub-agent was successfully spawned
SwarmCoordination
Orchestrator dispatching a task to a swarm member
SwarmResult
Swarm member returning result to orchestrator
Trait Implementations§
Source§impl Clone for AgentMessageType
impl Clone for AgentMessageType
Source§fn clone(&self) -> AgentMessageType
fn clone(&self) -> AgentMessageType
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 moreimpl Copy for AgentMessageType
Source§impl Debug for AgentMessageType
impl Debug for AgentMessageType
Source§impl<'de> Deserialize<'de> for AgentMessageType
impl<'de> Deserialize<'de> for AgentMessageType
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 AgentMessageType
Source§impl PartialEq for AgentMessageType
impl PartialEq for AgentMessageType
Source§fn eq(&self, other: &AgentMessageType) -> bool
fn eq(&self, other: &AgentMessageType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentMessageType
impl Serialize for AgentMessageType
impl StructuralPartialEq for AgentMessageType
Auto Trait Implementations§
impl Freeze for AgentMessageType
impl RefUnwindSafe for AgentMessageType
impl Send for AgentMessageType
impl Sync for AgentMessageType
impl Unpin for AgentMessageType
impl UnsafeUnpin for AgentMessageType
impl UnwindSafe for AgentMessageType
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