pub enum ExternalUpgradeVerificationCheckError {
SchemaVersionMismatch {
expected: u32,
actual: u32,
},
MissingRequiredField {
field: &'static str,
},
DigestMismatch {
field: &'static str,
},
SourceMismatch {
field: &'static str,
},
DuplicateRequirement {
requirement: LifecycleVerificationRequirementV1,
},
RequirementStatusMismatch {
requirement: LifecycleVerificationRequirementV1,
},
}Expand description
ExternalUpgradeVerificationCheckError
Variants§
SchemaVersionMismatch
MissingRequiredField
DigestMismatch
SourceMismatch
DuplicateRequirement
Fields
§
requirement: LifecycleVerificationRequirementV1RequirementStatusMismatch
Fields
§
requirement: LifecycleVerificationRequirementV1Trait Implementations§
Source§impl Error for ExternalUpgradeVerificationCheckError
impl Error for ExternalUpgradeVerificationCheckError
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<ExternalUpgradeVerificationCheckError> for ExternalUpgradeCompletionReportError
impl From<ExternalUpgradeVerificationCheckError> for ExternalUpgradeCompletionReportError
Source§fn from(source: ExternalUpgradeVerificationCheckError) -> Self
fn from(source: ExternalUpgradeVerificationCheckError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExternalUpgradeVerificationCheckError
impl PartialEq for ExternalUpgradeVerificationCheckError
Source§fn eq(&self, other: &ExternalUpgradeVerificationCheckError) -> bool
fn eq(&self, other: &ExternalUpgradeVerificationCheckError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExternalUpgradeVerificationCheckError
impl StructuralPartialEq for ExternalUpgradeVerificationCheckError
Auto Trait Implementations§
impl Freeze for ExternalUpgradeVerificationCheckError
impl RefUnwindSafe for ExternalUpgradeVerificationCheckError
impl Send for ExternalUpgradeVerificationCheckError
impl Sync for ExternalUpgradeVerificationCheckError
impl Unpin for ExternalUpgradeVerificationCheckError
impl UnsafeUnpin for ExternalUpgradeVerificationCheckError
impl UnwindSafe for ExternalUpgradeVerificationCheckError
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