pub enum McpMatch {
ProcessOnly,
TranscriptOnly,
Name,
Sole,
}Expand description
How an McpServer row was formed.
Variants§
ProcessOnly
A process under the agent that no transcript server names. Either it has not been called yet, or its name does not appear in its command.
TranscriptOnly
A server the transcript calls with no process under the agent: an HTTP server, or one that has exited.
Name
The server’s name appears in the process’s command line.
Sole
One unmatched process and one unmatched server were left; they are taken to be the same. A guess.
Trait Implementations§
impl Copy for McpMatch
Source§impl<'de> Deserialize<'de> for McpMatch
impl<'de> Deserialize<'de> for McpMatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for McpMatch
impl StructuralPartialEq for McpMatch
Auto Trait Implementations§
impl Freeze for McpMatch
impl RefUnwindSafe for McpMatch
impl Send for McpMatch
impl Sync for McpMatch
impl Unpin for McpMatch
impl UnsafeUnpin for McpMatch
impl UnwindSafe for McpMatch
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