pub enum PromotionReadinessError {
SchemaVersionMismatch {
expected: u32,
found: u32,
},
MissingRequiredField {
field: &'static str,
},
StatusBlockerMismatch {
status: PromotionReadinessStatusV1,
blocker_count: usize,
},
DuplicateRole {
role: String,
},
RestageStateMismatch {
role: String,
},
FindingSeverityMismatch {
field: &'static str,
severity: SafetySeverityV1,
},
InvalidSha256Digest {
field: &'static str,
},
}Expand description
PromotionReadinessError
Variants§
SchemaVersionMismatch
MissingRequiredField
StatusBlockerMismatch
DuplicateRole
RestageStateMismatch
FindingSeverityMismatch
InvalidSha256Digest
Trait Implementations§
Source§impl Debug for PromotionReadinessError
impl Debug for PromotionReadinessError
Source§impl Display for PromotionReadinessError
impl Display for PromotionReadinessError
Source§impl Error for PromotionReadinessError
impl Error for PromotionReadinessError
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<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<PromotionReadinessError> for PromotionPlanTransformError
impl From<PromotionReadinessError> for PromotionPlanTransformError
Source§fn from(source: PromotionReadinessError) -> Self
fn from(source: PromotionReadinessError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PromotionReadinessError
impl RefUnwindSafe for PromotionReadinessError
impl Send for PromotionReadinessError
impl Sync for PromotionReadinessError
impl Unpin for PromotionReadinessError
impl UnsafeUnpin for PromotionReadinessError
impl UnwindSafe for PromotionReadinessError
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