pub enum McpInstallationFailureReason {
Show 24 variants
InvalidRequest,
OperationLimit,
Cancelled,
CapabilityRequired,
ConfirmationUnavailable,
ConfirmationInvalid,
PolicyContextUnavailable,
PolicyChanged,
PolicyDenied,
ConfigurationChanged,
ConfigurationModified,
ResourceNotFound,
PlanExpired,
PlanReplayed,
ForeignRuntime,
ReplanRequired,
SourceRevalidationUnavailable,
SourceChanged,
SourceUnavailable,
RegistryUnavailable,
SecretStoreUnavailable,
LifecycleUnavailable,
WriteFailed,
Unknown,
}Expand description
Bounded refusal categories, without echoing handles, credentials or configuration.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
InvalidRequest
The selected choice or request is unsupported or malformed.
OperationLimit
The bounded original-connection operation limit was reached.
Cancelled
The original operation was cancelled.
CapabilityRequired
Required installation capabilities were omitted.
The original host cannot receive human confirmation.
ConfirmationInvalid
The confirmation response is malformed or mismatched.
Existing authenticated session and host authority is unavailable.
PolicyChanged
The original authority or policy changed.
PolicyDenied
Current managed policy refuses the operation.
ConfigurationChanged
Configuration changed after the reviewed snapshot.
ConfigurationModified
Installed configuration no longer matches ownership evidence.
ResourceNotFound
No matching owned resource or original operation exists.
PlanExpired
The original plan deadline elapsed.
PlanReplayed
The one-use plan or prepared operation was already consumed.
ForeignRuntime
The handle belongs to a different runtime, session or connection.
ReplanRequired
Fresh bound planning is required.
Exact original source revalidation is unsupported.
SourceChanged
The source differs from the retained commitment.
The original source could not be retrieved safely.
Authoritative Registry interpretation is unavailable.
The selected secret backend is unavailable.
Required owned admission and lifecycle support is absent.
WriteFailed
A storage operation failed; inspect any allocated operation before retrying.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for McpInstallationFailureReason
impl Clone for McpInstallationFailureReason
Source§impl Debug for McpInstallationFailureReason
impl Debug for McpInstallationFailureReason
Source§impl<'de> Deserialize<'de> for McpInstallationFailureReason
impl<'de> Deserialize<'de> for McpInstallationFailureReason
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>,
impl Eq for McpInstallationFailureReason
impl StructuralPartialEq for McpInstallationFailureReason
Auto Trait Implementations§
impl Freeze for McpInstallationFailureReason
impl RefUnwindSafe for McpInstallationFailureReason
impl Send for McpInstallationFailureReason
impl Sync for McpInstallationFailureReason
impl Unpin for McpInstallationFailureReason
impl UnsafeUnpin for McpInstallationFailureReason
impl UnwindSafe for McpInstallationFailureReason
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.