Enum solana_evm_loader_program::precompiles::PrecompileErrors[][src]

pub enum PrecompileErrors {
    FailedToParse {
        name: String,
        source: Error,
    },
    FailedToParseInput {
        arg_type: String,
        source: FromHexError,
    },
    InputToShort {
        input_len: usize,
    },
    MismatchFunctionHash {
        expected: String,
        got: String,
    },
    ParamsCountMismatch {
        expected: usize,
        got: usize,
    },
    UnexpectedInput {
        expected: String,
        got: String,
    },
    AccountNotFound {
        public_key: Address,
    },
    InsufficientFunds {
        lamports: u64,
    },
    NativeChainInstructionError {
        source: InstructionError,
    },
}

Variants

FailedToParse

Fields of FailedToParse

name: Stringsource: Error
FailedToParseInput

Fields of FailedToParseInput

arg_type: Stringsource: FromHexError
InputToShort

Fields of InputToShort

input_len: usize
MismatchFunctionHash

Fields of MismatchFunctionHash

expected: Stringgot: String
ParamsCountMismatch

Fields of ParamsCountMismatch

expected: usizegot: usize
UnexpectedInput

Fields of UnexpectedInput

expected: Stringgot: String
AccountNotFound

Fields of AccountNotFound

public_key: Address
InsufficientFunds

Fields of InsufficientFunds

lamports: u64
NativeChainInstructionError

Fields of NativeChainInstructionError

source: InstructionError

Trait Implementations

impl Debug for PrecompileErrors[src]

impl Display for PrecompileErrors[src]

impl Error for PrecompileErrors where
    Self: Debug + Display
[src]

impl ErrorCompat for PrecompileErrors[src]

impl From<PrecompileErrors> for ExitError[src]

Auto Trait Implementations

impl !RefUnwindSafe for PrecompileErrors

impl Send for PrecompileErrors

impl Sync for PrecompileErrors

impl Unpin for PrecompileErrors

impl !UnwindSafe for PrecompileErrors

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]

impl<T> AsFail for T where
    T: Fail
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<E> Fail for E where
    E: 'static + Error + Send + Sync
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]