pub trait LambdaMcpServerBuilderExt {
// Required method
fn tools<I, T>(self, tools: I) -> Self
where I: IntoIterator<Item = T>,
T: McpTool + 'static;
}Required Methods§
Sourcefn tools<I, T>(self, tools: I) -> Selfwhere
I: IntoIterator<Item = T>,
T: McpTool + 'static,
fn tools<I, T>(self, tools: I) -> Selfwhere
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.