Trait agent_tk::execution::tst::CreatableFromAgent

source ·
pub trait CreatableFromAgent<TAgent, T> {
    // Required method
    fn from_agent(agent: &TAgent) -> T;
}
Expand description

Trait for creating executor for an agent

Required Methods§

source

fn from_agent(agent: &TAgent) -> T

Create an executor from an agent

Object Safety§

This trait is not object safe.

Implementors§