#[non_exhaustive]pub enum RefusalReason {
OwnerMismatch,
UserInstalledEntry,
InvalidConfig,
BackupAlreadyExists,
UnsupportedScope,
MissingRequiredSpecField,
InlineSecretInLocalScope,
UnsupportedPlatform,
}Expand description
A predictable dry-run refusal reason.
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.
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.
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.
Trait Implementations§
Source§impl Clone for RefusalReason
impl Clone for RefusalReason
Source§fn clone(&self) -> RefusalReason
fn clone(&self) -> RefusalReason
Returns a duplicate of the value. Read more
1.0.0 · 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 RefusalReason
impl Debug for RefusalReason
Source§impl PartialEq for RefusalReason
impl PartialEq for RefusalReason
impl Copy for RefusalReason
impl Eq 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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.