pub trait ToolPortServiceExt: ToolPort {
// Required methods
fn into_tool_service(self: Arc<Self>) -> ToolService;
fn into_tool_list_service(self: Arc<Self>) -> ToolListService;
}Expand description
Extension trait that converts a ToolPort into tower services.
This provides a fluent API for creating service instances from tool ports.
Required Methods§
Sourcefn into_tool_service(self: Arc<Self>) -> ToolService
fn into_tool_service(self: Arc<Self>) -> ToolService
Convert this tool port into a tower::Service for tool execution.
Sourcefn into_tool_list_service(self: Arc<Self>) -> ToolListService
fn into_tool_list_service(self: Arc<Self>) -> ToolListService
Convert this tool port into a tower::Service for tool listing.