#[non_exhaustive]pub enum RefusalReason {
OwnerMismatch,
UserInstalledEntry,
InvalidConfig,
BackupAlreadyExists,
UnsupportedScope,
MissingRequiredSpecField,
InlineSecretInLocalScope,
UnsupportedTransport,
UnsupportedPlatform,
UnsupportedSpecField,
}Expand description
A predictable dry-run refusal reason.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
OwnerMismatch
A sidecar ledger records a different owner.
UserInstalledEntry
The config entry exists without an agent-config ledger entry.
InvalidConfig
Existing config could not be parsed or had an unsupported shape.
BackupAlreadyExists
A required first-touch backup already exists.
Retained for compatibility; current planners preserve existing backups and patch without creating another one.
UnsupportedScope
The integration does not support the requested scope.
MissingRequiredSpecField
The supplied spec is missing a field required by this integration.
InlineSecretInLocalScope
Local-scope MCP install would write likely secret material inline.
UnsupportedTransport
The integration does not support this transport kind on this surface.
UnsupportedPlatform
The integration’s surface requires a runtime not present on the
current host (for example, a POSIX shell for a bash-script hook).
Refused before any mutation.
UnsupportedSpecField
The supplied spec contains a field or value not supported by this integration.
Trait Implementations§
Source§impl Clone for RefusalReason
impl Clone for RefusalReason
Source§fn clone(&self) -> RefusalReason
fn clone(&self) -> RefusalReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for RefusalReason
Source§impl Debug for RefusalReason
impl Debug for RefusalReason
impl Eq for RefusalReason
Source§impl PartialEq for RefusalReason
impl PartialEq for RefusalReason
impl StructuralPartialEq for RefusalReason
Auto Trait Implementations§
impl Freeze for RefusalReason
impl RefUnwindSafe for RefusalReason
impl Send for RefusalReason
impl Sync for RefusalReason
impl Unpin for RefusalReason
impl UnsafeUnpin for RefusalReason
impl UnwindSafe for RefusalReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.