pub enum InstallationCampaignErrorKind {
CampaignIdentityMismatch,
PlanIdentityMismatch,
StageOutOfOrder,
EvidenceMismatch,
AlreadyTerminal,
LimitExceeded,
InvalidEncoding,
NonCanonical,
UnsupportedVersion,
}Expand description
Closed campaign state-machine failure.
Variants§
CampaignIdentityMismatch
Caller supplied another campaign identity for retained state.
PlanIdentityMismatch
Caller reused a campaign identity for another exact plan.
StageOutOfOrder
A stage was skipped, repeated, or submitted out of order.
EvidenceMismatch
Observed stage state differs from the exact plan.
AlreadyTerminal
The campaign already sealed its terminal receipt.
LimitExceeded
A canonical campaign artifact exceeds its hard bound.
InvalidEncoding
A canonical campaign artifact is malformed.
NonCanonical
A canonical campaign artifact has a valid shape but inexact bytes.
UnsupportedVersion
A canonical campaign artifact version is unsupported.
Trait Implementations§
Source§impl Clone for InstallationCampaignErrorKind
impl Clone for InstallationCampaignErrorKind
Source§fn clone(&self) -> InstallationCampaignErrorKind
fn clone(&self) -> InstallationCampaignErrorKind
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 InstallationCampaignErrorKind
impl Eq for InstallationCampaignErrorKind
impl StructuralPartialEq for InstallationCampaignErrorKind
Auto Trait Implementations§
impl Freeze for InstallationCampaignErrorKind
impl RefUnwindSafe for InstallationCampaignErrorKind
impl Send for InstallationCampaignErrorKind
impl Sync for InstallationCampaignErrorKind
impl Unpin for InstallationCampaignErrorKind
impl UnsafeUnpin for InstallationCampaignErrorKind
impl UnwindSafe for InstallationCampaignErrorKind
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