#[repr(u32)]pub enum CompressedPdaError {
Show 36 variants
SumCheckFailed = 0,
SignerCheckFailed = 1,
CpiSignerCheckFailed = 2,
ComputeInputSumFailed = 3,
ComputeOutputSumFailed = 4,
ComputeRpcSumFailed = 5,
InUtxosAlreadyAdded = 6,
NumberOfLeavesMismatch = 7,
MerkleTreePubkeysMismatch = 8,
NullifierArrayPubkeysMismatch = 9,
InvalidNoopPubkey = 10,
ProofVerificationFailed = 11,
CompressedAccountHashError = 12,
InvalidAddress = 13,
InvalidAddressQueue = 14,
InvalidNullifierQueue = 15,
DeriveAddressError = 16,
CompressSolTransferFailed = 17,
CompressedSolPdaUndefinedForCompressSol = 18,
DeCompressLamportsUndefinedForCompressSol = 19,
CompressedSolPdaUndefinedForDecompressSol = 20,
DeCompressLamportsUndefinedForDecompressSol = 21,
DecompressRecipientUndefinedForDecompressSol = 22,
LengthMismatch = 23,
DelegateUndefined = 24,
CpiContextAccountUndefined = 25,
WriteAccessCheckFailed = 26,
InvokingProgramNotProvided = 27,
SignerSeedsNotProvided = 28,
AdditionOverflowForDecompressSol = 29,
InsufficientLamportsForDecompressSol = 30,
CpiContextMissing = 31,
InvalidMerkleTreeOwner = 32,
ProofIsNone = 33,
InvalidMerkleTreeIndex = 34,
ProofIsSome = 35,
}
Variants§
SumCheckFailed = 0
SignerCheckFailed = 1
CpiSignerCheckFailed = 2
ComputeInputSumFailed = 3
ComputeOutputSumFailed = 4
ComputeRpcSumFailed = 5
InUtxosAlreadyAdded = 6
NumberOfLeavesMismatch = 7
MerkleTreePubkeysMismatch = 8
NullifierArrayPubkeysMismatch = 9
InvalidNoopPubkey = 10
ProofVerificationFailed = 11
CompressedAccountHashError = 12
InvalidAddress = 13
InvalidAddressQueue = 14
InvalidNullifierQueue = 15
DeriveAddressError = 16
CompressSolTransferFailed = 17
CompressedSolPdaUndefinedForCompressSol = 18
DeCompressLamportsUndefinedForCompressSol = 19
CompressedSolPdaUndefinedForDecompressSol = 20
DeCompressLamportsUndefinedForDecompressSol = 21
DecompressRecipientUndefinedForDecompressSol = 22
LengthMismatch = 23
DelegateUndefined = 24
CpiContextAccountUndefined = 25
WriteAccessCheckFailed = 26
InvokingProgramNotProvided = 27
SignerSeedsNotProvided = 28
AdditionOverflowForDecompressSol = 29
InsufficientLamportsForDecompressSol = 30
CpiContextMissing = 31
InvalidMerkleTreeOwner = 32
ProofIsNone = 33
InvalidMerkleTreeIndex = 34
ProofIsSome = 35
Implementations§
Trait Implementations§
source§impl Clone for CompressedPdaError
impl Clone for CompressedPdaError
source§fn clone(&self) -> CompressedPdaError
fn clone(&self) -> CompressedPdaError
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 CompressedPdaError
impl Debug for CompressedPdaError
source§impl Display for CompressedPdaError
impl Display for CompressedPdaError
source§impl From<CompressedPdaError> for Error
impl From<CompressedPdaError> for Error
source§fn from(error_code: CompressedPdaError) -> Error
fn from(error_code: CompressedPdaError) -> Error
Converts to this type from the input type.
source§impl From<CompressedPdaError> for u32
impl From<CompressedPdaError> for u32
source§fn from(e: CompressedPdaError) -> u32
fn from(e: CompressedPdaError) -> u32
Converts to this type from the input type.
impl Copy for CompressedPdaError
Auto Trait Implementations§
impl Freeze for CompressedPdaError
impl RefUnwindSafe for CompressedPdaError
impl Send for CompressedPdaError
impl Sync for CompressedPdaError
impl Unpin for CompressedPdaError
impl UnwindSafe for CompressedPdaError
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> 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