pub enum InstallationPlanErrorKind {
InvalidIdentifier,
LimitExceeded,
Duplicate,
IdentityMismatch,
ApprovalRequired,
InvalidApproval,
UnsafeMigration,
CredentialConflict,
UnsupportedVersion,
InvalidEncoding,
NonCanonical,
InvalidShape,
}Expand description
Closed deterministic plan-compilation failure.
Variants§
InvalidIdentifier
A bounded symbolic identifier is invalid.
LimitExceeded
One hard input or encoded-size bound was exceeded.
Duplicate
A supposedly unique symbolic key was duplicated.
IdentityMismatch
Exact source, lock, manifest, contract, or artifact identities disagree.
ApprovalRequired
An existing role would gain authority without explicit exact approval.
InvalidApproval
A supplied authority approval is stale, broader, or otherwise inexact.
UnsafeMigration
Migration confirmation, ordering, backup, or downtime semantics are unsafe.
CredentialConflict
A credential replacement is ambiguous or would overwrite its predecessor.
UnsupportedVersion
The decoded version is not supported.
InvalidEncoding
The submitted document is malformed.
NonCanonical
The submitted document has valid meaning but noncanonical bytes.
InvalidShape
The submitted values do not form a closed installation shape.
Trait Implementations§
Source§impl Clone for InstallationPlanErrorKind
impl Clone for InstallationPlanErrorKind
Source§fn clone(&self) -> InstallationPlanErrorKind
fn clone(&self) -> InstallationPlanErrorKind
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 moreimpl Copy for InstallationPlanErrorKind
Source§impl Debug for InstallationPlanErrorKind
impl Debug for InstallationPlanErrorKind
impl Eq for InstallationPlanErrorKind
impl StructuralPartialEq for InstallationPlanErrorKind
Auto Trait Implementations§
impl Freeze for InstallationPlanErrorKind
impl RefUnwindSafe for InstallationPlanErrorKind
impl Send for InstallationPlanErrorKind
impl Sync for InstallationPlanErrorKind
impl Unpin for InstallationPlanErrorKind
impl UnsafeUnpin for InstallationPlanErrorKind
impl UnwindSafe for InstallationPlanErrorKind
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