pub enum PromotionWasmStoreCatalogVerificationError {
SchemaVersionMismatch {
expected: u32,
found: u32,
},
MissingRequiredField {
field: &'static str,
},
StatusBlockerMismatch {
status: PromotionReadinessStatusV1,
blocker_count: usize,
},
DuplicateRole {
role: String,
},
DuplicateLocator {
locator: String,
},
RoleMismatch {
role: String,
field: &'static str,
},
LinkageMismatch {
field: &'static str,
},
InvalidSha256Digest {
field: &'static str,
},
BlockerMismatch,
BlockerSeverityMismatch {
severity: SafetySeverityV1,
},
WasmStoreIdentity(PromotionWasmStoreIdentityReportError),
}Expand description
PromotionWasmStoreCatalogVerificationError
Variants§
SchemaVersionMismatch
MissingRequiredField
StatusBlockerMismatch
DuplicateRole
DuplicateLocator
RoleMismatch
LinkageMismatch
InvalidSha256Digest
BlockerMismatch
BlockerSeverityMismatch
Fields
§
severity: SafetySeverityV1WasmStoreIdentity(PromotionWasmStoreIdentityReportError)
Trait Implementations§
Source§impl Error for PromotionWasmStoreCatalogVerificationError
impl Error for PromotionWasmStoreCatalogVerificationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<PromotionWasmStoreCatalogVerificationError> for ArtifactPromotionProvenanceReportError
impl From<PromotionWasmStoreCatalogVerificationError> for ArtifactPromotionProvenanceReportError
Source§fn from(source: PromotionWasmStoreCatalogVerificationError) -> Self
fn from(source: PromotionWasmStoreCatalogVerificationError) -> Self
Converts to this type from the input type.
Source§impl From<PromotionWasmStoreIdentityReportError> for PromotionWasmStoreCatalogVerificationError
impl From<PromotionWasmStoreIdentityReportError> for PromotionWasmStoreCatalogVerificationError
Source§fn from(source: PromotionWasmStoreIdentityReportError) -> Self
fn from(source: PromotionWasmStoreIdentityReportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PromotionWasmStoreCatalogVerificationError
impl RefUnwindSafe for PromotionWasmStoreCatalogVerificationError
impl Send for PromotionWasmStoreCatalogVerificationError
impl Sync for PromotionWasmStoreCatalogVerificationError
impl Unpin for PromotionWasmStoreCatalogVerificationError
impl UnsafeUnpin for PromotionWasmStoreCatalogVerificationError
impl UnwindSafe for PromotionWasmStoreCatalogVerificationError
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