#[non_exhaustive]pub enum NodeStateUpdateError {
Integrity {
source: PendingNodeResultIntegrityError,
},
DigestMismatch,
}Expand description
Invalid or corrupted schema-pinned node update.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Integrity
Canonical integrity material could not be produced.
Fields
§
source: PendingNodeResultIntegrityErrorExact integrity failure.
DigestMismatch
The supplied checksum did not match the schema and data.
Trait Implementations§
Source§impl Clone for NodeStateUpdateError
impl Clone for NodeStateUpdateError
Source§impl Debug for NodeStateUpdateError
impl Debug for NodeStateUpdateError
Source§impl Display for NodeStateUpdateError
impl Display for NodeStateUpdateError
impl Eq for NodeStateUpdateError
Source§impl Error for NodeStateUpdateError
impl Error for NodeStateUpdateError
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 PartialEq for NodeStateUpdateError
impl PartialEq for NodeStateUpdateError
impl StructuralPartialEq for NodeStateUpdateError
Auto Trait Implementations§
impl Forget for NodeStateUpdateError
impl Freeze for NodeStateUpdateError
impl Move for NodeStateUpdateError
impl RefUnwindSafe for NodeStateUpdateError
impl Send for NodeStateUpdateError
impl Sync for NodeStateUpdateError
impl Unpin for NodeStateUpdateError
impl UnsafeUnpin for NodeStateUpdateError
impl UnwindSafe for NodeStateUpdateError
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