Enum poseidon_client::InstructionError
source · [−]pub enum InstructionError {
Show 52 variants
GenericError,
InvalidArgument,
InvalidInstructionData,
InvalidAccountData,
AccountDataTooSmall,
InsufficientFunds,
IncorrectProgramId,
MissingRequiredSignature,
AccountAlreadyInitialized,
UninitializedAccount,
UnbalancedInstruction,
ModifiedProgramId,
ExternalAccountLamportSpend,
ExternalAccountDataModified,
ReadonlyLamportChange,
ReadonlyDataModified,
DuplicateAccountIndex,
ExecutableModified,
RentEpochModified,
NotEnoughAccountKeys,
AccountDataSizeChanged,
AccountNotExecutable,
AccountBorrowFailed,
AccountBorrowOutstanding,
DuplicateAccountOutOfSync,
Custom(u32),
InvalidError,
ExecutableDataModified,
ExecutableLamportChange,
ExecutableAccountNotRentExempt,
UnsupportedProgramId,
CallDepth,
MissingAccount,
ReentrancyNotAllowed,
MaxSeedLengthExceeded,
InvalidSeeds,
InvalidRealloc,
ComputationalBudgetExceeded,
PrivilegeEscalation,
ProgramEnvironmentSetupFailure,
ProgramFailedToComplete,
ProgramFailedToCompile,
Immutable,
IncorrectAuthority,
BorshIoError(String),
AccountNotRentExempt,
InvalidAccountOwner,
ArithmeticOverflow,
UnsupportedSysvar,
IllegalOwner,
MaxAccountsDataSizeExceeded,
ActiveVoteAccountClose,
}Variants
GenericError
InvalidArgument
InvalidInstructionData
InvalidAccountData
AccountDataTooSmall
InsufficientFunds
IncorrectProgramId
MissingRequiredSignature
AccountAlreadyInitialized
UninitializedAccount
UnbalancedInstruction
ModifiedProgramId
ExternalAccountLamportSpend
ExternalAccountDataModified
ReadonlyLamportChange
ReadonlyDataModified
DuplicateAccountIndex
ExecutableModified
RentEpochModified
NotEnoughAccountKeys
AccountDataSizeChanged
AccountNotExecutable
AccountBorrowFailed
AccountBorrowOutstanding
DuplicateAccountOutOfSync
Custom(u32)
InvalidError
ExecutableDataModified
ExecutableLamportChange
ExecutableAccountNotRentExempt
UnsupportedProgramId
CallDepth
MissingAccount
ReentrancyNotAllowed
MaxSeedLengthExceeded
InvalidSeeds
InvalidRealloc
ComputationalBudgetExceeded
PrivilegeEscalation
ProgramEnvironmentSetupFailure
ProgramFailedToComplete
ProgramFailedToCompile
Immutable
IncorrectAuthority
BorshIoError(String)
AccountNotRentExempt
InvalidAccountOwner
ArithmeticOverflow
UnsupportedSysvar
IllegalOwner
MaxAccountsDataSizeExceeded
ActiveVoteAccountClose
Trait Implementations
sourceimpl BorshDeserialize for InstructionError where
u32: BorshDeserialize,
String: BorshDeserialize,
impl BorshDeserialize for InstructionError where
u32: BorshDeserialize,
String: BorshDeserialize,
sourceimpl BorshSerialize for InstructionError where
u32: BorshSerialize,
String: BorshSerialize,
impl BorshSerialize for InstructionError where
u32: BorshSerialize,
String: BorshSerialize,
sourceimpl Clone for InstructionError
impl Clone for InstructionError
sourcefn clone(&self) -> InstructionError
fn clone(&self) -> InstructionError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for InstructionError
impl Debug for InstructionError
sourceimpl<'de> Deserialize<'de> for InstructionError
impl<'de> Deserialize<'de> for InstructionError
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Ord for InstructionError
impl Ord for InstructionError
sourcefn cmp(&self, other: &InstructionError) -> Ordering
fn cmp(&self, other: &InstructionError) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<InstructionError> for InstructionError
impl PartialEq<InstructionError> for InstructionError
sourcefn eq(&self, other: &InstructionError) -> bool
fn eq(&self, other: &InstructionError) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &InstructionError) -> bool
fn ne(&self, other: &InstructionError) -> bool
This method tests for !=.
sourceimpl PartialOrd<InstructionError> for InstructionError
impl PartialOrd<InstructionError> for InstructionError
sourcefn partial_cmp(&self, other: &InstructionError) -> Option<Ordering>
fn partial_cmp(&self, other: &InstructionError) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl Serialize for InstructionError
impl Serialize for InstructionError
impl Eq for InstructionError
impl StructuralEq for InstructionError
impl StructuralPartialEq for InstructionError
Auto Trait Implementations
impl RefUnwindSafe for InstructionError
impl Send for InstructionError
impl Sync for InstructionError
impl Unpin for InstructionError
impl UnwindSafe for InstructionError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more