pub enum McpAddTransport {
Stdio {
env: Vec<(String, String)>,
command: Vec<OsString>,
},
StreamableHttp {
url: String,
bearer_token_env_var: Option<String>,
},
}Expand description
Transport for codex mcp add.
Variants§
Trait Implementations§
Source§impl Clone for McpAddTransport
impl Clone for McpAddTransport
Source§fn clone(&self) -> McpAddTransport
fn clone(&self) -> McpAddTransport
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 McpAddTransport
impl Debug for McpAddTransport
Source§impl PartialEq for McpAddTransport
impl PartialEq for McpAddTransport
Source§fn eq(&self, other: &McpAddTransport) -> bool
fn eq(&self, other: &McpAddTransport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for McpAddTransport
impl StructuralPartialEq for McpAddTransport
Auto Trait Implementations§
impl Freeze for McpAddTransport
impl RefUnwindSafe for McpAddTransport
impl Send for McpAddTransport
impl Sync for McpAddTransport
impl Unpin for McpAddTransport
impl UnsafeUnpin for McpAddTransport
impl UnwindSafe for McpAddTransport
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.