pub enum McpStrategy {
MergeJson {
target: &'static str,
server_key: &'static str,
seed_json: &'static str,
},
None,
}Expand description
How a harness registers its MCP server.
Variants§
MergeJson
Merge the bears entry under the given key path (e.g. mcpServers)
into the JSON file at target.
seed_json is the full seed document from the embedded template; its
server_key object will be extracted and merged into any existing file.
Fields
None
No MCP registration needed (harness finds servers another way).
Trait Implementations§
Source§impl Clone for McpStrategy
impl Clone for McpStrategy
Source§fn clone(&self) -> McpStrategy
fn clone(&self) -> McpStrategy
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 moreAuto Trait Implementations§
impl Freeze for McpStrategy
impl RefUnwindSafe for McpStrategy
impl Send for McpStrategy
impl Sync for McpStrategy
impl Unpin for McpStrategy
impl UnsafeUnpin for McpStrategy
impl UnwindSafe for McpStrategy
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