pub struct McpSettings(pub Option<Duration>);Expand description
How MCP servers are started in this process, when [[mcp]] entries do not say. None —
--no-mcp — starts none of them at all: no process, no tools, and no problem entries for
servers that would have failed anyway.
Tuple Fields§
§0: Option<Duration>Implementations§
Source§impl McpSettings
impl McpSettings
pub fn from_config(cfg: &Config) -> Self
Trait Implementations§
Source§impl Clone for McpSettings
impl Clone for McpSettings
impl Copy for McpSettings
Auto Trait Implementations§
impl Forget for McpSettings
impl Freeze for McpSettings
impl Move for McpSettings
impl RefUnwindSafe for McpSettings
impl Send for McpSettings
impl Sync for McpSettings
impl Unpin for McpSettings
impl UnsafeUnpin for McpSettings
impl UnwindSafe for McpSettings
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