Skip to main content

AsyncToolResultFuture

Type Alias AsyncToolResultFuture 

Source
pub type AsyncToolResultFuture = Pin<Box<dyn Future<Output = Result<Value, String>> + Send>>;
Expand description

A pinned, boxed future returning Result<Value, String>. Used for fallible async tool handlers.

Aliased Typeยง

pub struct AsyncToolResultFuture { /* private fields */ }