Enum solana_client::rpc_custom_error::RpcCustomError [−][src]
pub enum RpcCustomError {}Show 13 variants
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, ScanError { message: String, }, TransactionSignatureLenMismatch,
Variants
Fields of SendTransactionPreflightFailure
message: String
result: RpcSimulateTransactionResult
Fields of NodeUnhealthy
num_slots_behind: Option<Slot>
Tuple Fields of TransactionPrecompileVerificationFailure
Fields of KeyExcludedFromSecondaryIndex
index_key: String
Fields of ScanError
message: 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
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
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