pub struct StdioConfig {
pub command: String,
pub args: Vec<String>,
pub cwd: Option<String>,
pub env: HashMap<String, String>,
pub env_encrypted: HashMap<String, String>,
pub startup_timeout_ms: u64,
}Expand description
Stdio transport configuration
Fields§
§command: StringCommand to execute
args: Vec<String>Arguments for the command
cwd: Option<String>Working directory
env: HashMap<String, String>Environment variables (plaintext, in-memory only).
env_encrypted: HashMap<String, String>Encrypted environment variables values (nonce:ciphertext), keyed by env var name.
Legacy/back-compat only: older Bamboo builds stored secrets encrypted-at-rest. We still accept these values so existing configs keep working, but we no longer persist them (standard MCP config stores plaintext env vars).
startup_timeout_ms: u64Startup timeout in milliseconds
Trait Implementations§
Source§impl Clone for StdioConfig
impl Clone for StdioConfig
Source§fn clone(&self) -> StdioConfig
fn clone(&self) -> StdioConfig
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 StdioConfig
impl Debug for StdioConfig
Source§impl<'de> Deserialize<'de> for StdioConfig
impl<'de> Deserialize<'de> for StdioConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StdioConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StdioConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for StdioConfig
impl Serialize for StdioConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for StdioConfig
impl RefUnwindSafe for StdioConfig
impl Send for StdioConfig
impl Sync for StdioConfig
impl Unpin for StdioConfig
impl UnsafeUnpin for StdioConfig
impl UnwindSafe for StdioConfig
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