pub enum McpScope {
Local,
Project,
User,
}Expand description
Where an MCP server entry is configured.
Variants§
Local
For one project directory, in the user’s private agent state.
Project
In a file committed to the repository.
User
For every project of this user.
Trait Implementations§
impl Copy for McpScope
impl Eq for McpScope
impl StructuralPartialEq for McpScope
Auto Trait Implementations§
impl Forget for McpScope
impl Freeze for McpScope
impl Move for McpScope
impl RefUnwindSafe for McpScope
impl Send for McpScope
impl Sync for McpScope
impl Unpin for McpScope
impl UnsafeUnpin for McpScope
impl UnwindSafe for McpScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.