pub trait CreatableFromAgent<TAgent, T> {
// Required method
fn from_agent(agent: &TAgent) -> T;
}
Expand description
Trait for creating executor for an agent
Required Methods§
Sourcefn from_agent(agent: &TAgent) -> T
fn from_agent(agent: &TAgent) -> T
Create an executor from an agent
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.