pub enum AgentWrapperMcpAddTransport {
Stdio {
command: Vec<String>,
args: Vec<String>,
env: BTreeMap<String, String>,
},
Url {
url: String,
bearer_token_env_var: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for AgentWrapperMcpAddTransport
impl Clone for AgentWrapperMcpAddTransport
Source§fn clone(&self) -> AgentWrapperMcpAddTransport
fn clone(&self) -> AgentWrapperMcpAddTransport
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 AgentWrapperMcpAddTransport
impl RefUnwindSafe for AgentWrapperMcpAddTransport
impl Send for AgentWrapperMcpAddTransport
impl Sync for AgentWrapperMcpAddTransport
impl Unpin for AgentWrapperMcpAddTransport
impl UnsafeUnpin for AgentWrapperMcpAddTransport
impl UnwindSafe for AgentWrapperMcpAddTransport
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