pub struct RuntimeMcpServer {
pub name: String,
pub transport: RuntimeMcpTransport,
pub tool_exposure: ToolExposure,
}Fields§
§name: String§transport: RuntimeMcpTransport§tool_exposure: ToolExposureImplementations§
Source§impl RuntimeMcpServer
impl RuntimeMcpServer
pub fn new( name: impl Into<String>, transport: RuntimeMcpTransport, tool_exposure: ToolExposure, ) -> Self
pub fn with_exposure(self, exposure: ToolExposure) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeMcpServer
impl !UnwindSafe for RuntimeMcpServer
impl Freeze for RuntimeMcpServer
impl Send for RuntimeMcpServer
impl Sync for RuntimeMcpServer
impl Unpin for RuntimeMcpServer
impl UnsafeUnpin for RuntimeMcpServer
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