pub enum BackendConfigSource {
Command,
SingleServerJsonConfig,
MultiServerJsonConfig,
}Expand description
How upstream backend servers are supplied to the runtime.
Variants§
Command
Direct command/argv input, e.g. python alpha_server.py.
SingleServerJsonConfig
JSON MCP config input with one mcpServers entry.
MultiServerJsonConfig
JSON MCP config input with multiple mcpServers entries.
Trait Implementations§
Source§impl Clone for BackendConfigSource
impl Clone for BackendConfigSource
Source§fn clone(&self) -> BackendConfigSource
fn clone(&self) -> BackendConfigSource
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 moreSource§impl Debug for BackendConfigSource
impl Debug for BackendConfigSource
Source§impl PartialEq for BackendConfigSource
impl PartialEq for BackendConfigSource
Source§fn eq(&self, other: &BackendConfigSource) -> bool
fn eq(&self, other: &BackendConfigSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BackendConfigSource
impl Eq for BackendConfigSource
impl StructuralPartialEq for BackendConfigSource
Auto Trait Implementations§
impl Freeze for BackendConfigSource
impl RefUnwindSafe for BackendConfigSource
impl Send for BackendConfigSource
impl Sync for BackendConfigSource
impl Unpin for BackendConfigSource
impl UnsafeUnpin for BackendConfigSource
impl UnwindSafe for BackendConfigSource
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.