pub enum ArtifactPromotionProvenanceReportError {
SchemaVersionMismatch {
expected: u32,
found: u32,
},
MissingRequiredField {
field: &'static str,
},
StatusBlockerMismatch {
status: PromotionReadinessStatusV1,
blocker_count: usize,
},
LinkageMismatch {
field: &'static str,
},
DuplicateRole {
role: String,
},
BlockerMismatch,
BlockerSeverityMismatch {
severity: SafetySeverityV1,
},
Plan(ArtifactPromotionPlanError),
WasmStoreIdentity(PromotionWasmStoreIdentityReportError),
MaterializationIdentity(PromotionMaterializationIdentityReportError),
}Expand description
ArtifactPromotionProvenanceReportError
Variants§
SchemaVersionMismatch
MissingRequiredField
StatusBlockerMismatch
LinkageMismatch
DuplicateRole
BlockerMismatch
BlockerSeverityMismatch
Fields
§
severity: SafetySeverityV1Plan(ArtifactPromotionPlanError)
WasmStoreIdentity(PromotionWasmStoreIdentityReportError)
MaterializationIdentity(PromotionMaterializationIdentityReportError)
Trait Implementations§
Source§impl Error for ArtifactPromotionProvenanceReportError
impl Error for ArtifactPromotionProvenanceReportError
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<ArtifactPromotionPlanError> for ArtifactPromotionProvenanceReportError
impl From<ArtifactPromotionPlanError> for ArtifactPromotionProvenanceReportError
Source§fn from(source: ArtifactPromotionPlanError) -> Self
fn from(source: ArtifactPromotionPlanError) -> Self
Converts to this type from the input type.
Source§impl From<ArtifactPromotionProvenanceReportError> for ArtifactPromotionExecutionReceiptError
impl From<ArtifactPromotionProvenanceReportError> for ArtifactPromotionExecutionReceiptError
Source§fn from(source: ArtifactPromotionProvenanceReportError) -> Self
fn from(source: ArtifactPromotionProvenanceReportError) -> Self
Converts to this type from the input type.
Source§impl From<PromotionMaterializationIdentityReportError> for ArtifactPromotionProvenanceReportError
impl From<PromotionMaterializationIdentityReportError> for ArtifactPromotionProvenanceReportError
Source§fn from(source: PromotionMaterializationIdentityReportError) -> Self
fn from(source: PromotionMaterializationIdentityReportError) -> Self
Converts to this type from the input type.
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 ArtifactPromotionProvenanceReportError
impl RefUnwindSafe for ArtifactPromotionProvenanceReportError
impl Send for ArtifactPromotionProvenanceReportError
impl Sync for ArtifactPromotionProvenanceReportError
impl Unpin for ArtifactPromotionProvenanceReportError
impl UnsafeUnpin for ArtifactPromotionProvenanceReportError
impl UnwindSafe for ArtifactPromotionProvenanceReportError
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