pub enum McpSource {
SpnGlobal,
SpnProject,
ClaudeCode,
Cursor,
VsCode,
Discovered,
}Expand description
Source of an MCP configuration.
Variants§
SpnGlobal
From spn global config (~/.spn/config.toml)
SpnProject
From project spn.yaml
ClaudeCode
From Claude Code config
Cursor
From Cursor config
VsCode
From VS Code config
Discovered
Discovered at runtime
Trait Implementations§
impl Eq for McpSource
impl StructuralPartialEq for McpSource
Auto Trait Implementations§
impl Freeze for McpSource
impl RefUnwindSafe for McpSource
impl Send for McpSource
impl Sync for McpSource
impl Unpin for McpSource
impl UnsafeUnpin for McpSource
impl UnwindSafe for McpSource
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