#[non_exhaustive]pub enum McpSupport {
Unsupported,
ExplicitServersOnly,
MergeOnly,
MergeAndExplicitOnly,
}Expand description
How a backend implementation handles MCP wiring.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unsupported
MCP is not supported.
ExplicitServersOnly
Backend can use Chimera-provided MCP servers, but does not merge ambient backend MCP config.
MergeOnly
Backend supports ambient MCP merge only.
MergeAndExplicitOnly
Backend supports both merged and explicit-only MCP modes.
Implementations§
Source§impl McpSupport
impl McpSupport
pub fn supports_mcp(self) -> bool
pub fn supports_mode(self, mode: McpConfigMode) -> bool
Trait Implementations§
Source§impl Clone for McpSupport
impl Clone for McpSupport
Source§fn clone(&self) -> McpSupport
fn clone(&self) -> McpSupport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for McpSupport
Source§impl Debug for McpSupport
impl Debug for McpSupport
Source§impl<'de> Deserialize<'de> for McpSupport
impl<'de> Deserialize<'de> for McpSupport
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 McpSupport
Source§impl PartialEq for McpSupport
impl PartialEq for McpSupport
Source§impl Serialize for McpSupport
impl Serialize for McpSupport
impl StructuralPartialEq for McpSupport
Auto Trait Implementations§
impl Freeze for McpSupport
impl RefUnwindSafe for McpSupport
impl Send for McpSupport
impl Sync for McpSupport
impl Unpin for McpSupport
impl UnsafeUnpin for McpSupport
impl UnwindSafe for McpSupport
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