Enum solana_client::rpc_custom_error::RpcCustomError [−][src]
pub enum RpcCustomError { BlockCleanedUp { slot: Slot, first_available_block: Slot, }, SendTransactionPreflightFailure { message: String, result: RpcSimulateTransactionResult, }, TransactionSignatureVerificationFailure, BlockNotAvailable { slot: Slot, }, NodeUnhealthy { num_slots_behind: Option<Slot>, }, TransactionPrecompileVerificationFailure(TransactionError), SlotSkipped { slot: Slot, }, NoSnapshot, LongTermStorageSlotSkipped { slot: Slot, }, KeyExcludedFromSecondaryIndex { index_key: String, }, TransactionHistoryNotAvailable, }
Variants
Show fields
Fields of SendTransactionPreflightFailure
message: String
result: RpcSimulateTransactionResult
Show fields
Fields of NodeUnhealthy
num_slots_behind: Option<Slot>
TransactionPrecompileVerificationFailure(TransactionError)
Show fields
Fields of KeyExcludedFromSecondaryIndex
index_key: String
Auto Trait Implementations
impl RefUnwindSafe for RpcCustomError
impl Send for RpcCustomError
impl Sync for RpcCustomError
impl Unpin for RpcCustomError
impl UnwindSafe for RpcCustomError
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V