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