#[repr(u32)]pub enum AccountCompressionErrorCode {
Show 27 variants
IntegerOverflow = 0,
InvalidAuthority = 1,
NumberOfLeavesMismatch = 2,
InvalidNoopPubkey = 3,
NumberOfChangeLogIndicesMismatch = 4,
NumberOfIndicesMismatch = 5,
NumberOfProofsMismatch = 6,
InvalidMerkleProof = 7,
LeafNotFound = 8,
MerkleTreeAndQueueNotAssociated = 9,
MerkleTreeAlreadyRolledOver = 10,
NotReadyForRollover = 11,
RolloverNotConfigured = 12,
NotAllLeavesProcessed = 13,
InvalidQueueType = 14,
InputElementsEmpty = 15,
NoLeavesForMerkleTree = 16,
InvalidAccountSize = 17,
InsufficientRolloverFee = 18,
UnsupportedHeight = 19,
UnsupportedCanopyDepth = 20,
InvalidSequenceThreshold = 21,
UnsupportedCloseThreshold = 22,
InvalidAccountBalance = 23,
UnsupportedAdditionalBytes = 24,
InvalidGroup = 25,
ProofLengthMismatch = 26,
}
Variants§
IntegerOverflow = 0
InvalidAuthority = 1
NumberOfLeavesMismatch = 2
InvalidNoopPubkey = 3
NumberOfChangeLogIndicesMismatch = 4
NumberOfIndicesMismatch = 5
NumberOfProofsMismatch = 6
InvalidMerkleProof = 7
LeafNotFound = 8
MerkleTreeAndQueueNotAssociated = 9
MerkleTreeAlreadyRolledOver = 10
NotReadyForRollover = 11
RolloverNotConfigured = 12
NotAllLeavesProcessed = 13
InvalidQueueType = 14
InputElementsEmpty = 15
NoLeavesForMerkleTree = 16
InvalidAccountSize = 17
InsufficientRolloverFee = 18
UnsupportedHeight = 19
UnsupportedCanopyDepth = 20
InvalidSequenceThreshold = 21
UnsupportedCloseThreshold = 22
InvalidAccountBalance = 23
UnsupportedAdditionalBytes = 24
InvalidGroup = 25
ProofLengthMismatch = 26
Implementations§
Trait Implementations§
Source§impl Clone for AccountCompressionErrorCode
impl Clone for AccountCompressionErrorCode
Source§fn clone(&self) -> AccountCompressionErrorCode
fn clone(&self) -> AccountCompressionErrorCode
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 AccountCompressionErrorCode
impl Debug for AccountCompressionErrorCode
Source§impl From<AccountCompressionErrorCode> for Error
impl From<AccountCompressionErrorCode> for Error
Source§fn from(error_code: AccountCompressionErrorCode) -> Error
fn from(error_code: AccountCompressionErrorCode) -> Error
Converts to this type from the input type.
Source§impl From<AccountCompressionErrorCode> for u32
impl From<AccountCompressionErrorCode> for u32
Source§fn from(e: AccountCompressionErrorCode) -> u32
fn from(e: AccountCompressionErrorCode) -> u32
Converts to this type from the input type.
impl Copy for AccountCompressionErrorCode
Auto Trait Implementations§
impl Freeze for AccountCompressionErrorCode
impl RefUnwindSafe for AccountCompressionErrorCode
impl Send for AccountCompressionErrorCode
impl Sync for AccountCompressionErrorCode
impl Unpin for AccountCompressionErrorCode
impl UnwindSafe for AccountCompressionErrorCode
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