pub enum ArtifactPromotionPlanError {
SchemaVersionMismatch {
expected: u32,
found: u32,
},
MissingRequiredField {
field: &'static str,
},
StatusBlockerMismatch {
status: PromotionReadinessStatusV1,
blocker_count: usize,
},
LinkageMismatch {
field: &'static str,
},
Readiness(PromotionReadinessError),
ArtifactIdentityReport(PromotionArtifactIdentityReportError),
Transform(PromotionPlanTransformError),
TargetExecutionLineage(PromotionTargetExecutionLineageError),
MissingTargetExecutionLineage,
TargetCheck(DeploymentExecutionPreflightError),
}Expand description
ArtifactPromotionPlanError
Variants§
SchemaVersionMismatch
MissingRequiredField
StatusBlockerMismatch
LinkageMismatch
Readiness(PromotionReadinessError)
ArtifactIdentityReport(PromotionArtifactIdentityReportError)
Transform(PromotionPlanTransformError)
TargetExecutionLineage(PromotionTargetExecutionLineageError)
MissingTargetExecutionLineage
TargetCheck(DeploymentExecutionPreflightError)
Trait Implementations§
Source§impl Debug for ArtifactPromotionPlanError
impl Debug for ArtifactPromotionPlanError
Source§impl Display for ArtifactPromotionPlanError
impl Display for ArtifactPromotionPlanError
Source§impl Error for ArtifactPromotionPlanError
impl Error for ArtifactPromotionPlanError
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<PromotionArtifactIdentityReportError> for ArtifactPromotionPlanError
impl From<PromotionArtifactIdentityReportError> for ArtifactPromotionPlanError
Source§fn from(source: PromotionArtifactIdentityReportError) -> Self
fn from(source: PromotionArtifactIdentityReportError) -> Self
Converts to this type from the input type.
Source§impl From<PromotionPlanTransformError> for ArtifactPromotionPlanError
impl From<PromotionPlanTransformError> for ArtifactPromotionPlanError
Source§fn from(source: PromotionPlanTransformError) -> Self
fn from(source: PromotionPlanTransformError) -> Self
Converts to this type from the input type.
Source§impl From<PromotionReadinessError> for ArtifactPromotionPlanError
impl From<PromotionReadinessError> for ArtifactPromotionPlanError
Source§fn from(source: PromotionReadinessError) -> Self
fn from(source: PromotionReadinessError) -> Self
Converts to this type from the input type.
Source§impl From<PromotionTargetExecutionLineageError> for ArtifactPromotionPlanError
impl From<PromotionTargetExecutionLineageError> for ArtifactPromotionPlanError
Source§fn from(source: PromotionTargetExecutionLineageError) -> Self
fn from(source: PromotionTargetExecutionLineageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArtifactPromotionPlanError
impl RefUnwindSafe for ArtifactPromotionPlanError
impl Send for ArtifactPromotionPlanError
impl Sync for ArtifactPromotionPlanError
impl Unpin for ArtifactPromotionPlanError
impl UnsafeUnpin for ArtifactPromotionPlanError
impl UnwindSafe for ArtifactPromotionPlanError
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