#[non_exhaustive]pub enum NodeTerminalOutputError {
Integrity {
source: PendingNodeResultIntegrityError,
},
DigestMismatch,
}Expand description
Invalid or corrupted schema-pinned terminal output.
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 NodeTerminalOutputError
impl Clone for NodeTerminalOutputError
Source§impl Debug for NodeTerminalOutputError
impl Debug for NodeTerminalOutputError
Source§impl Display for NodeTerminalOutputError
impl Display for NodeTerminalOutputError
impl Eq for NodeTerminalOutputError
Source§impl Error for NodeTerminalOutputError
impl Error for NodeTerminalOutputError
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 NodeTerminalOutputError
impl PartialEq for NodeTerminalOutputError
impl StructuralPartialEq for NodeTerminalOutputError
Auto Trait Implementations§
impl Forget for NodeTerminalOutputError
impl Freeze for NodeTerminalOutputError
impl Move for NodeTerminalOutputError
impl RefUnwindSafe for NodeTerminalOutputError
impl Send for NodeTerminalOutputError
impl Sync for NodeTerminalOutputError
impl Unpin for NodeTerminalOutputError
impl UnsafeUnpin for NodeTerminalOutputError
impl UnwindSafe for NodeTerminalOutputError
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