pub struct Connected {
pub tools: Vec<McpTool>,
pub clients: Vec<(String, Arc<dyn ToolClient>)>,
pub notices: Vec<String>,
}Expand description
Running servers and their tools.
Fields§
§tools: Vec<McpTool>The tools offered.
clients: Vec<(String, Arc<dyn ToolClient>)>One tool client per server, by server name.
notices: Vec<String>What could not be used, and why.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Connected
impl !UnwindSafe for Connected
impl Freeze for Connected
impl Send for Connected
impl Sync for Connected
impl Unpin for Connected
impl UnsafeUnpin for Connected
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