Skip to main content

AgentBootstrap

Trait AgentBootstrap 

Source
pub trait AgentBootstrap: Send {
    // Required method
    fn build(self) -> Result<Arc<dyn AgentRuntime>, AgentError>
       where Self: Sized;
}
Expand description

Bootstrap contract for producing an AgentRuntime.

Required Methods§

Source

fn build(self) -> Result<Arc<dyn AgentRuntime>, AgentError>
where Self: Sized,

Consume the builder and produce a ready-to-use runtime.

Implementors§