pub struct McpServerBuilder(/* private fields */);Expand description
Builder for McpServer.
Implementations§
Source§impl McpServerBuilder
impl McpServerBuilder
pub fn streamable_http_transport( self, value: impl Into<StreamableHttpTransport>, ) -> Self
pub fn rest(self, value: Rest) -> Self
Auto Trait Implementations§
impl Freeze for McpServerBuilder
impl RefUnwindSafe for McpServerBuilder
impl Send for McpServerBuilder
impl Sync for McpServerBuilder
impl Unpin for McpServerBuilder
impl UnsafeUnpin for McpServerBuilder
impl UnwindSafe for McpServerBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more