Trait jsonrpc::output_agent::AgentRunnable
[−]
[src]
pub trait AgentRunnable { fn run_agent(self, agent_inner: AgentInnerRunner); }
Functional interface representing the execution of the Agent
Required Methods
fn run_agent(self, agent_inner: AgentInnerRunner)
Run the Agent. Must end with a call to agent_inner.enter_agent_loop()
Implementors
impl<FN: FnOnce(AgentInnerRunner)> AgentRunnable for FN