Skip to main content

BoxToolFuture

Type Alias BoxToolFuture 

Source
pub type BoxToolFuture<'a> = Pin<Box<dyn Future<Output = Result<ToolOutput, ToolError>> + Send + 'a>>;
Expand description

Type-erased future returned when dispatching a boxed tool.

Produced by the crate-internal type-erasure layer that lets heterogeneous RustTool implementations share one registry.

Aliased Typeยง

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