pub enum AgentEvent {
AgentStarted(AgentStartedEvent),
AgentCompleted(AgentCompletedEvent),
ToolStarted(ToolStartedEvent),
ToolCompleted(ToolCompletedEvent),
ToolFailed(ToolFailedEvent),
SubAgentStarted(SubAgentStartedEvent),
SubAgentCompleted(SubAgentCompletedEvent),
TodosUpdated(TodosUpdatedEvent),
StateCheckpointed(StateCheckpointedEvent),
PlanningComplete(PlanningCompleteEvent),
}
Variants§
AgentStarted(AgentStartedEvent)
AgentCompleted(AgentCompletedEvent)
ToolStarted(ToolStartedEvent)
ToolCompleted(ToolCompletedEvent)
ToolFailed(ToolFailedEvent)
SubAgentStarted(SubAgentStartedEvent)
SubAgentCompleted(SubAgentCompletedEvent)
TodosUpdated(TodosUpdatedEvent)
StateCheckpointed(StateCheckpointedEvent)
PlanningComplete(PlanningCompleteEvent)
Implementations§
Source§impl AgentEvent
impl AgentEvent
pub fn event_type_name(&self) -> &'static str
pub fn metadata(&self) -> &EventMetadata
Trait Implementations§
Source§impl Clone for AgentEvent
impl Clone for AgentEvent
Source§fn clone(&self) -> AgentEvent
fn clone(&self) -> AgentEvent
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 AgentEvent
impl Debug for AgentEvent
Source§impl<'de> Deserialize<'de> for AgentEvent
impl<'de> Deserialize<'de> for AgentEvent
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 AgentEvent
impl RefUnwindSafe for AgentEvent
impl Send for AgentEvent
impl Sync for AgentEvent
impl Unpin for AgentEvent
impl UnwindSafe for AgentEvent
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