pub enum PromotionTargetExecutionLineageError {
SchemaVersionMismatch {
expected: u32,
found: u32,
},
MissingRequiredField {
field: &'static str,
},
InvalidSha256Digest {
field: &'static str,
},
Transform(PromotionPlanTransformError),
Preflight(DeploymentExecutionPreflightError),
LinkageMismatch {
field: &'static str,
},
ExecutionAttempted,
}Expand description
PromotionTargetExecutionLineageError
Variants§
SchemaVersionMismatch
MissingRequiredField
InvalidSha256Digest
Transform(PromotionPlanTransformError)
Preflight(DeploymentExecutionPreflightError)
LinkageMismatch
ExecutionAttempted
Trait Implementations§
Source§impl Error for PromotionTargetExecutionLineageError
impl Error for PromotionTargetExecutionLineageError
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<DeploymentExecutionPreflightError> for PromotionTargetExecutionLineageError
impl From<DeploymentExecutionPreflightError> for PromotionTargetExecutionLineageError
Source§fn from(source: DeploymentExecutionPreflightError) -> Self
fn from(source: DeploymentExecutionPreflightError) -> Self
Converts to this type from the input type.
Source§impl From<PromotionPlanTransformError> for PromotionTargetExecutionLineageError
impl From<PromotionPlanTransformError> for PromotionTargetExecutionLineageError
Source§fn from(source: PromotionPlanTransformError) -> Self
fn from(source: PromotionPlanTransformError) -> 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 PromotionTargetExecutionLineageError
impl RefUnwindSafe for PromotionTargetExecutionLineageError
impl Send for PromotionTargetExecutionLineageError
impl Sync for PromotionTargetExecutionLineageError
impl Unpin for PromotionTargetExecutionLineageError
impl UnsafeUnpin for PromotionTargetExecutionLineageError
impl UnwindSafe for PromotionTargetExecutionLineageError
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