#[non_exhaustive]pub enum McpOutcome {
Absent,
Disabled(McpDisabledReason),
Configured(McpConfig),
}Expand description
What became of the MCP component type (§6.2, §7.2.2).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Absent
No mcp.json — expressly not an error (§6.2).
Disabled(McpDisabledReason)
MCP is disabled for this plugin; other components loaded on (§7.2.2).
Configured(McpConfig)
Valid configuration; individually invalid entries were skipped.
Trait Implementations§
Source§impl Clone for McpOutcome
impl Clone for McpOutcome
Source§impl Debug for McpOutcome
impl Debug for McpOutcome
Source§impl PartialEq for McpOutcome
impl PartialEq for McpOutcome
impl StructuralPartialEq for McpOutcome
Auto Trait Implementations§
impl Freeze for McpOutcome
impl RefUnwindSafe for McpOutcome
impl Send for McpOutcome
impl Sync for McpOutcome
impl Unpin for McpOutcome
impl UnsafeUnpin for McpOutcome
impl UnwindSafe for McpOutcome
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