pub enum CompressedAccountError {
Show 22 variants
InputTooLarge(usize),
InvalidChunkSize,
InvalidSeeds,
InvalidRolloverThreshold,
InvalidInputLength,
HasherError(HasherError),
InvalidAccountSize,
AccountMutable,
AlreadyInitialized,
InvalidAccountBalance,
FailedBorrowRentSysvar,
DeriveAddressError,
InvalidArgument,
ZeroCopyExpectedAddress,
InstructionDataExpectedAddress,
CompressedAccountDataNotInitialized,
InvalidCpiContext,
ExpectedDiscriminator,
ExpectedDataHash,
InstructionDataExpectedProof,
ZeroCopyExpectedProof,
InvalidProofSize(usize),
}Variants§
InputTooLarge(usize)
InvalidChunkSize
InvalidSeeds
InvalidRolloverThreshold
InvalidInputLength
HasherError(HasherError)
InvalidAccountSize
AccountMutable
AlreadyInitialized
InvalidAccountBalance
FailedBorrowRentSysvar
DeriveAddressError
InvalidArgument
ZeroCopyExpectedAddress
InstructionDataExpectedAddress
CompressedAccountDataNotInitialized
InvalidCpiContext
ExpectedDiscriminator
ExpectedDataHash
InstructionDataExpectedProof
ZeroCopyExpectedProof
InvalidProofSize(usize)
Trait Implementations§
Source§impl Debug for CompressedAccountError
impl Debug for CompressedAccountError
Source§impl Display for CompressedAccountError
impl Display for CompressedAccountError
Source§impl Error for CompressedAccountError
impl Error for CompressedAccountError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<CompressedAccountError> for u32
impl From<CompressedAccountError> for u32
Source§fn from(e: CompressedAccountError) -> u32
fn from(e: CompressedAccountError) -> u32
Converts to this type from the input type.
Source§impl From<HasherError> for CompressedAccountError
impl From<HasherError> for CompressedAccountError
Source§fn from(source: HasherError) -> Self
fn from(source: HasherError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CompressedAccountError
impl PartialEq for CompressedAccountError
impl StructuralPartialEq for CompressedAccountError
Auto Trait Implementations§
impl Freeze for CompressedAccountError
impl RefUnwindSafe for CompressedAccountError
impl Send for CompressedAccountError
impl Sync for CompressedAccountError
impl Unpin for CompressedAccountError
impl UnwindSafe for CompressedAccountError
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