pub enum AuthorityEvidenceError {
MissingRequiredField {
field: &'static str,
},
SchemaVersionMismatch {
component: &'static str,
expected: u32,
found: u32,
},
PlanReportMismatch {
field: &'static str,
plan_value: String,
report_value: String,
},
PlanReportContentMismatch {
field: &'static str,
},
DryRunReceiptAttemptedActions {
count: usize,
},
DryRunReceiptStatus {
status: DeploymentExecutionStatusV1,
},
DryRunReceiptCommandResult {
result: DeploymentCommandResultV1,
},
DryRunReceiptMissingFinishedAt,
EvidenceGeneratedAtMismatch {
evidence_value: String,
receipt_value: String,
},
DryRunReceiptTimestampOrder {
field: &'static str,
left: String,
other_field: &'static str,
right: String,
},
CheckIdMismatch {
receipt_value: String,
report_value: String,
},
EvidenceCheckIdMismatch {
component: &'static str,
evidence_value: String,
nested_value: String,
},
}Expand description
AuthorityEvidenceError
Variants§
MissingRequiredField
SchemaVersionMismatch
PlanReportMismatch
PlanReportContentMismatch
DryRunReceiptAttemptedActions
DryRunReceiptStatus
Fields
§
status: DeploymentExecutionStatusV1DryRunReceiptCommandResult
Fields
§
result: DeploymentCommandResultV1DryRunReceiptMissingFinishedAt
EvidenceGeneratedAtMismatch
DryRunReceiptTimestampOrder
CheckIdMismatch
EvidenceCheckIdMismatch
Trait Implementations§
Source§impl Debug for AuthorityEvidenceError
impl Debug for AuthorityEvidenceError
Source§impl Display for AuthorityEvidenceError
impl Display for AuthorityEvidenceError
Source§impl Error for AuthorityEvidenceError
impl Error for AuthorityEvidenceError
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()
Auto Trait Implementations§
impl Freeze for AuthorityEvidenceError
impl RefUnwindSafe for AuthorityEvidenceError
impl Send for AuthorityEvidenceError
impl Sync for AuthorityEvidenceError
impl Unpin for AuthorityEvidenceError
impl UnsafeUnpin for AuthorityEvidenceError
impl UnwindSafe for AuthorityEvidenceError
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