pub enum PoKOfSignatureProofStatus {
Success,
BadSignature,
BadHiddenMessage,
BadRevealedMessage,
}
Expand description
Indicates the status returned from PoKOfSignatureProof
Variants§
Success
The proof verified
BadSignature
The proof failed because the signature proof of knowledge failed
BadHiddenMessage
The proof failed because a hidden message was invalid when the proof was created
BadRevealedMessage
The proof failed because a revealed message was invalid
Implementations§
Trait Implementations§
Source§impl Clone for PoKOfSignatureProofStatus
impl Clone for PoKOfSignatureProofStatus
Source§fn clone(&self) -> PoKOfSignatureProofStatus
fn clone(&self) -> PoKOfSignatureProofStatus
Returns a copy 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 PoKOfSignatureProofStatus
impl Debug for PoKOfSignatureProofStatus
Source§impl Display for PoKOfSignatureProofStatus
impl Display for PoKOfSignatureProofStatus
Source§impl Ord for PoKOfSignatureProofStatus
impl Ord for PoKOfSignatureProofStatus
Source§fn cmp(&self, other: &PoKOfSignatureProofStatus) -> Ordering
fn cmp(&self, other: &PoKOfSignatureProofStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for PoKOfSignatureProofStatus
impl PartialOrd for PoKOfSignatureProofStatus
impl Copy for PoKOfSignatureProofStatus
impl Eq for PoKOfSignatureProofStatus
impl StructuralPartialEq for PoKOfSignatureProofStatus
Auto Trait Implementations§
impl Freeze for PoKOfSignatureProofStatus
impl RefUnwindSafe for PoKOfSignatureProofStatus
impl Send for PoKOfSignatureProofStatus
impl Sync for PoKOfSignatureProofStatus
impl Unpin for PoKOfSignatureProofStatus
impl UnwindSafe for PoKOfSignatureProofStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more