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: Stringresult: RpcSimulateTransactionResultShow fields
Fields of NodeUnhealthy
num_slots_behind: Option<Slot>TransactionPrecompileVerificationFailure(TransactionError)Show fields
Fields of KeyExcludedFromSecondaryIndex
index_key: StringAuto Trait Implementations
impl RefUnwindSafe for RpcCustomErrorimpl Send for RpcCustomErrorimpl Sync for RpcCustomErrorimpl Unpin for RpcCustomErrorimpl UnwindSafe for RpcCustomErrorBlanket Implementations
pub default fn example() -> TMutably 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 = TShould always be Self
pub fn vzip(self) -> V