#[repr(u32)]pub enum VerifierSdkError {
Show 19 variants
IncompatibleVerifyingKeyWithNrPublicInputs = 0,
WrongPubAmount = 1,
WrongTxIntegrityHash = 2,
ProofVerificationFailed = 3,
TransactionIncomplete = 4,
AppTransactionIncomplete = 5,
InvalidNrNullifiers = 6,
InvalidNrLeaves = 7,
InvalidNrRemainingAccounts = 8,
InvalidTransactionMerkleTreeAddress = 9,
InvalidMerkleTreeRoot = 10,
InconsistentMintProofSenderOrRecipient = 11,
InvalidUtxoSize = 12,
CloseAccountFailed = 13,
InvalidSenderOrRecipient = 14,
ProofNotVerified = 15,
MessageNoMerkleTreeAccount = 16,
EventMerkleTreeInvalidHashFunction = 17,
InvalidNoopPubkey = 18,
}Variants§
IncompatibleVerifyingKeyWithNrPublicInputs = 0
WrongPubAmount = 1
WrongTxIntegrityHash = 2
ProofVerificationFailed = 3
TransactionIncomplete = 4
AppTransactionIncomplete = 5
InvalidNrNullifiers = 6
InvalidNrLeaves = 7
InvalidNrRemainingAccounts = 8
InvalidTransactionMerkleTreeAddress = 9
InvalidMerkleTreeRoot = 10
InconsistentMintProofSenderOrRecipient = 11
InvalidUtxoSize = 12
CloseAccountFailed = 13
InvalidSenderOrRecipient = 14
ProofNotVerified = 15
MessageNoMerkleTreeAccount = 16
EventMerkleTreeInvalidHashFunction = 17
InvalidNoopPubkey = 18
Implementations§
Trait Implementations§
Source§impl Clone for VerifierSdkError
impl Clone for VerifierSdkError
Source§fn clone(&self) -> VerifierSdkError
fn clone(&self) -> VerifierSdkError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VerifierSdkError
Source§impl Debug for VerifierSdkError
impl Debug for VerifierSdkError
Source§impl Display for VerifierSdkError
impl Display for VerifierSdkError
Source§impl From<VerifierSdkError> for Error
impl From<VerifierSdkError> for Error
Source§fn from(error_code: VerifierSdkError) -> Error
fn from(error_code: VerifierSdkError) -> Error
Converts to this type from the input type.
Source§impl From<VerifierSdkError> for u32
impl From<VerifierSdkError> for u32
Source§fn from(e: VerifierSdkError) -> u32
fn from(e: VerifierSdkError) -> u32
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VerifierSdkError
impl RefUnwindSafe for VerifierSdkError
impl Send for VerifierSdkError
impl Sync for VerifierSdkError
impl Unpin for VerifierSdkError
impl UnsafeUnpin for VerifierSdkError
impl UnwindSafe for VerifierSdkError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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