Skip to main content

ToolCallLauncher

Trait ToolCallLauncher 

Source
pub trait ToolCallLauncher<B>: Send {
    // Required method
    fn launch<'a>(
        &'a mut self,
        box_: &'a B,
    ) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send + 'a>>;
}
Expand description

Accepts canonical tool-call boxes for asynchronous execution.

Required Methods§

Source

fn launch<'a>( &'a mut self, box_: &'a B, ) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send + 'a>>

Accepts, starts, or queues one tool call without waiting for completion.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§