pub enum PromotionWasmStoreIdentityReportError {
SchemaVersionMismatch {
expected: u32,
found: u32,
},
MissingRequiredField {
field: &'static str,
},
StatusBlockerMismatch {
status: PromotionReadinessStatusV1,
blocker_count: usize,
},
DuplicateRole {
role: String,
},
StagingReceiptSchemaVersionMismatch {
role: String,
expected: u32,
found: u32,
},
BlockerMismatch,
BlockerSeverityMismatch {
severity: SafetySeverityV1,
},
}Expand description
PromotionWasmStoreIdentityReportError
Variants§
SchemaVersionMismatch
MissingRequiredField
StatusBlockerMismatch
DuplicateRole
StagingReceiptSchemaVersionMismatch
BlockerMismatch
BlockerSeverityMismatch
Fields
§
severity: SafetySeverityV1Trait Implementations§
Source§impl Error for PromotionWasmStoreIdentityReportError
impl Error for PromotionWasmStoreIdentityReportError
1.30.0 · 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<PromotionWasmStoreIdentityReportError> for ArtifactPromotionProvenanceReportError
impl From<PromotionWasmStoreIdentityReportError> for ArtifactPromotionProvenanceReportError
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 PromotionWasmStoreIdentityReportError
impl RefUnwindSafe for PromotionWasmStoreIdentityReportError
impl Send for PromotionWasmStoreIdentityReportError
impl Sync for PromotionWasmStoreIdentityReportError
impl Unpin for PromotionWasmStoreIdentityReportError
impl UnsafeUnpin for PromotionWasmStoreIdentityReportError
impl UnwindSafe for PromotionWasmStoreIdentityReportError
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