pub struct ServerRunner { /* private fields */ }
Expand description
Server runner for managing server execution
Implementations§
Source§impl ServerRunner
impl ServerRunner
pub fn new(config: ServerConfig) -> Result<Self, McpError>
pub fn get_config(&self) -> &ServerConfig
Auto Trait Implementations§
impl Freeze for ServerRunner
impl RefUnwindSafe for ServerRunner
impl Send for ServerRunner
impl Sync for ServerRunner
impl Unpin for ServerRunner
impl UnwindSafe for ServerRunner
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