pub enum PromotionArtifactIdentityReportError {
Show 15 variants
SchemaVersionMismatch {
expected: u32,
found: u32,
},
MissingRequiredField {
field: &'static str,
},
StatusBlockerMismatch {
status: PromotionReadinessStatusV1,
blocker_count: usize,
},
DuplicateRole {
role: String,
},
DuplicateIdentityGroup {
identity_key: String,
},
EmptyIdentityGroup {
identity_key: String,
},
UnknownGroupedRole {
role: String,
},
DuplicateGroupedRole {
role: String,
},
MissingGroupedRole {
role: String,
},
IdentityGroupRoleMismatch {
role: String,
expected: String,
found: String,
},
IdentityGroupKeyMismatch {
expected: String,
found: String,
},
SummaryMismatch {
field: &'static str,
},
LinkageMismatch {
field: &'static str,
},
InvalidSha256Digest {
field: &'static str,
},
BlockerSeverityMismatch {
severity: SafetySeverityV1,
},
}Expand description
PromotionArtifactIdentityReportError
Variants§
SchemaVersionMismatch
MissingRequiredField
StatusBlockerMismatch
DuplicateRole
DuplicateIdentityGroup
EmptyIdentityGroup
UnknownGroupedRole
DuplicateGroupedRole
MissingGroupedRole
IdentityGroupRoleMismatch
IdentityGroupKeyMismatch
SummaryMismatch
LinkageMismatch
InvalidSha256Digest
BlockerSeverityMismatch
Fields
§
severity: SafetySeverityV1Trait Implementations§
Source§impl Error for PromotionArtifactIdentityReportError
impl Error for PromotionArtifactIdentityReportError
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<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.
Auto Trait Implementations§
impl Freeze for PromotionArtifactIdentityReportError
impl RefUnwindSafe for PromotionArtifactIdentityReportError
impl Send for PromotionArtifactIdentityReportError
impl Sync for PromotionArtifactIdentityReportError
impl Unpin for PromotionArtifactIdentityReportError
impl UnsafeUnpin for PromotionArtifactIdentityReportError
impl UnwindSafe for PromotionArtifactIdentityReportError
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