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