pub enum EventTopic {
Tool,
Llm,
Agent,
Session,
Cost,
System,
Custom,
}Expand description
Identifies the category (topic) of a RuntimeEvent.
Subscribers declare which topics they care about; the bus only delivers matching events.
Variants§
Tool
Tool execution lifecycle events.
Llm
LLM request / response events.
Agent
Agent lifecycle events (start, stop, error).
Session
Session lifecycle events.
Cost
Cost / token usage events.
System
System-level events (config reload, shutdown).
Custom
Custom / user-defined events.
Trait Implementations§
Source§impl Clone for EventTopic
impl Clone for EventTopic
Source§fn clone(&self) -> EventTopic
fn clone(&self) -> EventTopic
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 EventTopic
impl Debug for EventTopic
Source§impl<'de> Deserialize<'de> for EventTopic
impl<'de> Deserialize<'de> for EventTopic
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 Hash for EventTopic
impl Hash for EventTopic
Source§impl PartialEq for EventTopic
impl PartialEq for EventTopic
Source§impl Serialize for EventTopic
impl Serialize for EventTopic
impl Copy for EventTopic
impl Eq for EventTopic
impl StructuralPartialEq for EventTopic
Auto Trait Implementations§
impl Freeze for EventTopic
impl RefUnwindSafe for EventTopic
impl Send for EventTopic
impl Sync for EventTopic
impl Unpin for EventTopic
impl UnsafeUnpin for EventTopic
impl UnwindSafe for EventTopic
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