pub enum PromotionMaterializationIdentityReportError {
Show 17 variants
SchemaVersionMismatch {
expected: u32,
found: u32,
},
MissingRequiredField {
field: &'static str,
},
StatusBlockerMismatch {
status: PromotionReadinessStatusV1,
blocker_count: usize,
},
DuplicateRole {
role: String,
},
DuplicateEvidence {
evidence_id: String,
},
DuplicateOutputGroup {
output_identity_key: String,
},
EmptyOutputGroup {
output_identity_key: String,
},
UnknownGroupedRole {
role: String,
},
DuplicateGroupedRole {
role: String,
},
MissingGroupedRole {
role: String,
},
OutputGroupRoleMismatch {
role: String,
expected: String,
found: String,
},
OutputGroupKeyMismatch {
expected: String,
found: String,
},
LinkageMismatch {
field: &'static str,
},
InvalidSha256Digest {
field: &'static str,
},
BlockerMismatch,
BlockerSeverityMismatch {
severity: SafetySeverityV1,
},
Materialization(PromotionMaterializationIdentityError),
}Expand description
PromotionMaterializationIdentityReportError
Variants§
SchemaVersionMismatch
MissingRequiredField
StatusBlockerMismatch
DuplicateRole
DuplicateEvidence
DuplicateOutputGroup
EmptyOutputGroup
UnknownGroupedRole
DuplicateGroupedRole
MissingGroupedRole
OutputGroupRoleMismatch
OutputGroupKeyMismatch
LinkageMismatch
InvalidSha256Digest
BlockerMismatch
BlockerSeverityMismatch
Fields
§
severity: SafetySeverityV1Materialization(PromotionMaterializationIdentityError)
Trait Implementations§
Source§impl Error for PromotionMaterializationIdentityReportError
impl Error for PromotionMaterializationIdentityReportError
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<PromotionMaterializationIdentityError> for PromotionMaterializationIdentityReportError
impl From<PromotionMaterializationIdentityError> for PromotionMaterializationIdentityReportError
Source§fn from(source: PromotionMaterializationIdentityError) -> Self
fn from(source: PromotionMaterializationIdentityError) -> Self
Converts to this type from the input type.
Source§impl From<PromotionMaterializationIdentityReportError> for ArtifactPromotionProvenanceReportError
impl From<PromotionMaterializationIdentityReportError> for ArtifactPromotionProvenanceReportError
Source§fn from(source: PromotionMaterializationIdentityReportError) -> Self
fn from(source: PromotionMaterializationIdentityReportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PromotionMaterializationIdentityReportError
impl RefUnwindSafe for PromotionMaterializationIdentityReportError
impl Send for PromotionMaterializationIdentityReportError
impl Sync for PromotionMaterializationIdentityReportError
impl Unpin for PromotionMaterializationIdentityReportError
impl UnsafeUnpin for PromotionMaterializationIdentityReportError
impl UnwindSafe for PromotionMaterializationIdentityReportError
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