pub enum McpPlanInstallResult {
Show 13 variants
Planned(McpPlanInstallPlanned),
NegotiationRefused(CatalogNegotiationRefusedError),
HandleRejected(CatalogHandleRejectedError),
InvalidRequest(CatalogInvalidRequestError),
AuthenticationRequired(CatalogAuthenticationRequiredError),
PolicyRejected(CatalogPolicyRejectedError),
NetworkFailure(CatalogNetworkFailureError),
UnsafeRetrieval(CatalogUnsafeRetrievalError),
MalformedCard(CatalogMalformedCardError),
ContractViolation(CatalogContractViolationError),
UnavailableTransport(CatalogUnavailableTransportError),
NotInstallable(CatalogNotInstallableError),
Unavailable(CatalogUnavailableError),
}Expand description
Outcome of an mcp.planInstall call: either a normalised plan, or one typed refusal. Nothing is written in either case.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Planned(McpPlanInstallPlanned)
NegotiationRefused(CatalogNegotiationRefusedError)
HandleRejected(CatalogHandleRejectedError)
InvalidRequest(CatalogInvalidRequestError)
AuthenticationRequired(CatalogAuthenticationRequiredError)
PolicyRejected(CatalogPolicyRejectedError)
NetworkFailure(CatalogNetworkFailureError)
UnsafeRetrieval(CatalogUnsafeRetrievalError)
MalformedCard(CatalogMalformedCardError)
ContractViolation(CatalogContractViolationError)
NotInstallable(CatalogNotInstallableError)
Trait Implementations§
Source§impl Clone for McpPlanInstallResult
impl Clone for McpPlanInstallResult
Source§fn clone(&self) -> McpPlanInstallResult
fn clone(&self) -> McpPlanInstallResult
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 McpPlanInstallResult
impl Debug for McpPlanInstallResult
Source§impl<'de> Deserialize<'de> for McpPlanInstallResult
impl<'de> Deserialize<'de> for McpPlanInstallResult
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 McpPlanInstallResult
impl RefUnwindSafe for McpPlanInstallResult
impl Send for McpPlanInstallResult
impl Sync for McpPlanInstallResult
impl Unpin for McpPlanInstallResult
impl UnsafeUnpin for McpPlanInstallResult
impl UnwindSafe for McpPlanInstallResult
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