Skip to main content

ToolExecutorFuture

Type Alias ToolExecutorFuture 

Source
pub type ToolExecutorFuture<'a> = Pin<Box<dyn Future<Output = ToolExecutionResult> + Send + 'a>>;
Expand description

Boxed tool executor future used for object-safe async tool boundaries.

Public tool boundaries use an explicit boxed future so registered executors can be stored behind ToolExecutor.

Aliased Typeยง

#[repr(transparent)]
pub struct ToolExecutorFuture<'a> { /* private fields */ }