pub enum PolicyRefusalReasonV1 {
InvalidBundle,
WrongTarget,
KeyUnavailable,
SignatureInvalid,
DigestMismatch,
Downgrade,
Expired,
InstallFailed,
}Expand description
Why an engine refused a received bundle (C0 $defs/refusal_reason).
Variants§
InvalidBundle
Does not parse or validate.
WrongTarget
Issued for another org or engine.
No verified key set v3, or no valid policy key for key_id.
SignatureInvalid
DigestMismatch
digest is not the policy’s.
Downgrade
An older version, or the same version with another digest.
Expired
not_after already passed.
InstallFailed
Verified but could not be stored.
Trait Implementations§
Source§impl Clone for PolicyRefusalReasonV1
impl Clone for PolicyRefusalReasonV1
impl Copy for PolicyRefusalReasonV1
Source§impl Debug for PolicyRefusalReasonV1
impl Debug for PolicyRefusalReasonV1
Source§impl<'de> Deserialize<'de> for PolicyRefusalReasonV1
impl<'de> Deserialize<'de> for PolicyRefusalReasonV1
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PolicyRefusalReasonV1
Source§impl PartialEq for PolicyRefusalReasonV1
impl PartialEq for PolicyRefusalReasonV1
Source§impl Serialize for PolicyRefusalReasonV1
impl Serialize for PolicyRefusalReasonV1
impl StructuralPartialEq for PolicyRefusalReasonV1
Auto Trait Implementations§
impl Forget for PolicyRefusalReasonV1
impl Freeze for PolicyRefusalReasonV1
impl Move for PolicyRefusalReasonV1
impl RefUnwindSafe for PolicyRefusalReasonV1
impl Send for PolicyRefusalReasonV1
impl Sync for PolicyRefusalReasonV1
impl Unpin for PolicyRefusalReasonV1
impl UnsafeUnpin for PolicyRefusalReasonV1
impl UnwindSafe for PolicyRefusalReasonV1
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