LambdaMcpServerBuilderExt

Trait LambdaMcpServerBuilderExt 

Source
pub trait LambdaMcpServerBuilderExt {
    // Required method
    fn tools<I, T>(self, tools: I) -> Self
       where I: IntoIterator<Item = T>,
             T: McpTool + 'static;
}

Required Methods§

Source

fn tools<I, T>(self, tools: I) -> Self
where I: IntoIterator<Item = T>, T: McpTool + 'static,

Add multiple tools at once

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§