Skip to main content

HasLegacyEvent

Trait HasLegacyEvent 

Source
pub trait HasLegacyEvent {
    // Required method
    fn as_legacy_events(&self, show_raw_agent_reasoning: bool) -> Vec<EventMsg>;
}
Expand description

Converts canonical item lifecycle events back into the legacy raw event stream used by compatibility consumers that have not migrated to TurnItem.

Required Methods§

Source

fn as_legacy_events(&self, show_raw_agent_reasoning: bool) -> Vec<EventMsg>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§