pub enum ServerInfoUpdate {
UpdateServer {
name: String,
id: Option<ServerId>,
status: String,
},
AddServer {
name: String,
info: ServerInfo,
},
Shutdown,
}Expand description
Server information update message sent between McpRunner and the SSEProxy
Variants§
UpdateServer
Update information about a specific server
AddServer
Add a new server to the proxy cache
Shutdown
Shutdown the proxy
Trait Implementations§
Source§impl Clone for ServerInfoUpdate
impl Clone for ServerInfoUpdate
Source§fn clone(&self) -> ServerInfoUpdate
fn clone(&self) -> ServerInfoUpdate
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ServerInfoUpdate
impl RefUnwindSafe for ServerInfoUpdate
impl Send for ServerInfoUpdate
impl Sync for ServerInfoUpdate
impl Unpin for ServerInfoUpdate
impl UnwindSafe for ServerInfoUpdate
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