Struct btlib::crypto::SignatureMismatch
source · pub struct SignatureMismatch {
pub actual: Principal,
pub expected: Principal,
}
Expand description
Contains information about why a signature verification failed.
Fields§
§actual: Principal
The principal whose signature was actually present.
expected: Principal
The principal whose signature was expected.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SignatureMismatch
impl Send for SignatureMismatch
impl Sync for SignatureMismatch
impl Unpin for SignatureMismatch
impl UnwindSafe for SignatureMismatch
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