#[repr(u32)]pub enum AccountCompressionErrorCode {
Show 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,
}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
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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