Docs.rs
  • solana-instruction-2.2.0
    • solana-instruction 2.2.0
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • anza-team
    • Dependencies
      • bincode ^1.3.3 normal optional
      • borsh ^1.5.5 normal optional
      • num-traits ^0.2 normal
      • serde ^1.0.217 normal optional
      • serde_derive ^1.0.217 normal optional
      • solana-frozen-abi =2.2.0 normal optional
      • solana-frozen-abi-macro =2.2.0 normal optional
      • solana-pubkey =2.2.0 normal
      • getrandom ^0.2.10 normal
      • js-sys ^0.3.77 normal
      • wasm-bindgen ^0.2 normal
      • solana-define-syscall =2.2.0 normal
    • Versions
    • 67.86% of the crate is documented
  • Go to latest version
  • Platform
    • wasm32-unknown-unknown
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

solana_instruction2.2.0

Module error

Module Items

  • Enums
  • Constants

In crate solana_instruction

solana_instruction

Module error

Source

Enums§

InstructionErrorstd
Reasons the runtime might have rejected an instruction.
LamportsError

Constants§

ACCOUNT_ALREADY_INITIALIZED
ACCOUNT_BORROW_FAILED
ACCOUNT_DATA_TOO_SMALL
ACCOUNT_NOT_RENT_EXEMPT
ARITHMETIC_OVERFLOW
BORSH_IO_ERROR
BUILTIN_PROGRAMS_MUST_CONSUME_COMPUTE_UNITS
CUSTOM_ZERO
ILLEGAL_OWNER
IMMUTABLE
INCORRECT_AUTHORITY
INCORRECT_PROGRAM_ID
INSUFFICIENT_FUNDS
INVALID_ACCOUNT_DATA
INVALID_ACCOUNT_DATA_REALLOC
INVALID_ACCOUNT_OWNER
INVALID_ARGUMENT
INVALID_INSTRUCTION_DATA
INVALID_SEEDS
MAX_ACCOUNTS_DATA_ALLOCATIONS_EXCEEDED
MAX_INSTRUCTION_TRACE_LENGTH_EXCEEDED
MAX_SEED_LENGTH_EXCEEDED
MISSING_REQUIRED_SIGNATURES
NOT_ENOUGH_ACCOUNT_KEYS
UNINITIALIZED_ACCOUNT
UNSUPPORTED_SYSVAR