pub struct ProxySettings {
pub name: String,
pub version: String,
pub separator: String,
pub listen: ListenConfig,
pub instructions: Option<String>,
pub shutdown_timeout_seconds: u64,
pub hot_reload: bool,
}Expand description
Core proxy identity and server settings.
Fields§
§name: StringProxy name, used in MCP server info.
version: StringProxy version, used in MCP server info (default: “0.1.0”).
separator: StringNamespace separator between backend name and tool/resource name (default: “/”).
listen: ListenConfigHTTP listen address.
instructions: Option<String>Optional instructions text sent to MCP clients.
shutdown_timeout_seconds: u64Graceful shutdown timeout in seconds (default: 30)
hot_reload: boolEnable hot reload: watch config file for new backends
Trait Implementations§
Source§impl Debug for ProxySettings
impl Debug for ProxySettings
Source§impl<'de> Deserialize<'de> for ProxySettings
impl<'de> Deserialize<'de> for ProxySettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProxySettings
impl RefUnwindSafe for ProxySettings
impl Send for ProxySettings
impl Sync for ProxySettings
impl Unpin for ProxySettings
impl UnsafeUnpin for ProxySettings
impl UnwindSafe for ProxySettings
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