pub enum ExternalUpgradeReceiptError {
SchemaVersionMismatch {
expected: u32,
actual: u32,
},
MissingRequiredField {
field: &'static str,
},
DigestMismatch {
field: &'static str,
},
SourceMismatch {
field: &'static str,
},
VerificationMismatch,
RefusedConsentVerified,
}Expand description
ExternalUpgradeReceiptError
Variants§
SchemaVersionMismatch
MissingRequiredField
DigestMismatch
SourceMismatch
VerificationMismatch
RefusedConsentVerified
Trait Implementations§
Source§impl Debug for ExternalUpgradeReceiptError
impl Debug for ExternalUpgradeReceiptError
impl Eq for ExternalUpgradeReceiptError
Source§impl Error for ExternalUpgradeReceiptError
impl Error for ExternalUpgradeReceiptError
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<ExternalUpgradeReceiptError> for ExternalUpgradeConsentEvidenceError
impl From<ExternalUpgradeReceiptError> for ExternalUpgradeConsentEvidenceError
Source§fn from(source: ExternalUpgradeReceiptError) -> Self
fn from(source: ExternalUpgradeReceiptError) -> Self
Converts to this type from the input type.
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 ExternalUpgradeReceiptError
impl PartialEq for ExternalUpgradeReceiptError
Source§fn eq(&self, other: &ExternalUpgradeReceiptError) -> bool
fn eq(&self, other: &ExternalUpgradeReceiptError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExternalUpgradeReceiptError
Auto Trait Implementations§
impl Freeze for ExternalUpgradeReceiptError
impl RefUnwindSafe for ExternalUpgradeReceiptError
impl Send for ExternalUpgradeReceiptError
impl Sync for ExternalUpgradeReceiptError
impl Unpin for ExternalUpgradeReceiptError
impl UnsafeUnpin for ExternalUpgradeReceiptError
impl UnwindSafe for ExternalUpgradeReceiptError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.