pub enum Verify {
Ok(SignedMessage),
Failed,
}Expand description
Represents the result of a verification
The Verify enum has two variants:
Ok(SignedMessage): The signature was successfully validated, and the signed message with additional information is returned.Failed: The signature is not valid.
Variants§
Ok(SignedMessage)
Failed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Verify
impl RefUnwindSafe for Verify
impl Send for Verify
impl Sync for Verify
impl Unpin for Verify
impl UnwindSafe for Verify
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