pub enum ArtifactPromotionExecutionReceiptError {
SchemaVersionMismatch {
expected: u32,
found: u32,
},
MissingRequiredField {
field: &'static str,
},
LinkageMismatch {
field: &'static str,
},
UnknownDeploymentRole {
role: String,
},
MissingDeploymentRole {
role: String,
},
ProvenanceNotReady {
status: PromotionReadinessStatusV1,
},
Provenance(ArtifactPromotionProvenanceReportError),
}Expand description
ArtifactPromotionExecutionReceiptError
Variants§
SchemaVersionMismatch
MissingRequiredField
LinkageMismatch
UnknownDeploymentRole
MissingDeploymentRole
ProvenanceNotReady
Fields
§
status: PromotionReadinessStatusV1Provenance(ArtifactPromotionProvenanceReportError)
Trait Implementations§
Source§impl Error for ArtifactPromotionExecutionReceiptError
impl Error for ArtifactPromotionExecutionReceiptError
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<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.
Auto Trait Implementations§
impl Freeze for ArtifactPromotionExecutionReceiptError
impl RefUnwindSafe for ArtifactPromotionExecutionReceiptError
impl Send for ArtifactPromotionExecutionReceiptError
impl Sync for ArtifactPromotionExecutionReceiptError
impl Unpin for ArtifactPromotionExecutionReceiptError
impl UnsafeUnpin for ArtifactPromotionExecutionReceiptError
impl UnwindSafe for ArtifactPromotionExecutionReceiptError
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