pub enum ReceiptSigningError {
KernelKeyMismatch,
SigningFailed(String),
}Expand description
Errors raised by sign_receipt.
Variants§
KernelKeyMismatch
The receipt body’s kernel_key does not match the signing backend’s
public key. Signing would succeed but verification against the
embedded kernel_key would then fail; we fail early to catch
config drift.
SigningFailed(String)
The canonical-JSON signing pipeline raised an error (bubbled up
from chio-core-types::crypto::sign_canonical_with_backend).
Trait Implementations§
Source§impl Clone for ReceiptSigningError
impl Clone for ReceiptSigningError
Source§fn clone(&self) -> ReceiptSigningError
fn clone(&self) -> ReceiptSigningError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReceiptSigningError
impl Debug for ReceiptSigningError
Source§impl PartialEq for ReceiptSigningError
impl PartialEq for ReceiptSigningError
impl Eq for ReceiptSigningError
impl StructuralPartialEq for ReceiptSigningError
Auto Trait Implementations§
impl Freeze for ReceiptSigningError
impl RefUnwindSafe for ReceiptSigningError
impl Send for ReceiptSigningError
impl Sync for ReceiptSigningError
impl Unpin for ReceiptSigningError
impl UnsafeUnpin for ReceiptSigningError
impl UnwindSafe for ReceiptSigningError
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