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
Fields of SendTransactionPreflightFailure
message: String
result: RpcSimulateTransactionResult
Fields of NodeUnhealthy
num_slots_behind: Option<Slot>
TransactionPrecompileVerificationFailure(TransactionError)
Tuple Fields of TransactionPrecompileVerificationFailure
Fields of KeyExcludedFromSecondaryIndex
index_key: String
Trait Implementations
Performs the conversion.
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
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more