pub struct SurfpoolFullRpc;Trait Implementations§
Source§impl Full for SurfpoolFullRpc
impl Full for SurfpoolFullRpc
type Metadata = Option<RunloopContext>
fn get_inflation_reward( &self, meta: Self::Metadata, address_strs: Vec<String>, config: Option<RpcEpochConfig>, ) -> BoxFuture<Result<Vec<Option<RpcInflationReward>>>>
fn get_cluster_nodes(&self, meta: Self::Metadata) -> Result<Vec<RpcContactInfo>>
fn get_recent_performance_samples( &self, meta: Self::Metadata, limit: Option<usize>, ) -> Result<Vec<RpcPerfSample>>
fn get_signature_statuses( &self, meta: Self::Metadata, signature_strs: Vec<String>, config: Option<RpcSignatureStatusConfig>, ) -> BoxFuture<Result<RpcResponse<Vec<Option<TransactionStatus>>>>>
fn get_max_retransmit_slot(&self, meta: Self::Metadata) -> Result<Slot>
fn get_max_shred_insert_slot(&self, meta: Self::Metadata) -> Result<Slot>
fn request_airdrop( &self, meta: Self::Metadata, pubkey_str: String, lamports: u64, config: Option<RpcRequestAirdropConfig>, ) -> Result<String>
fn send_transaction( &self, meta: Self::Metadata, data: String, config: Option<RpcSendTransactionConfig>, ) -> Result<String>
fn simulate_transaction( &self, meta: Self::Metadata, data: String, config: Option<RpcSimulateTransactionConfig>, ) -> Result<RpcResponse<RpcSimulateTransactionResult>>
fn minimum_ledger_slot(&self, meta: Self::Metadata) -> Result<Slot>
fn get_block( &self, meta: Self::Metadata, slot: Slot, config: Option<RpcEncodingConfigWrapper<RpcBlockConfig>>, ) -> BoxFuture<Result<Option<UiConfirmedBlock>>>
fn get_block_time( &self, meta: Self::Metadata, slot: Slot, ) -> BoxFuture<Result<Option<UnixTimestamp>>>
fn get_blocks( &self, meta: Self::Metadata, start_slot: Slot, wrapper: Option<RpcBlocksConfigWrapper>, config: Option<RpcContextConfig>, ) -> BoxFuture<Result<Vec<Slot>>>
fn get_blocks_with_limit( &self, meta: Self::Metadata, start_slot: Slot, limit: usize, config: Option<RpcContextConfig>, ) -> BoxFuture<Result<Vec<Slot>>>
fn get_transaction( &self, meta: Self::Metadata, signature_str: String, config: Option<RpcEncodingConfigWrapper<RpcTransactionConfig>>, ) -> BoxFuture<Result<Option<EncodedConfirmedTransactionWithStatusMeta>>>
fn get_signatures_for_address( &self, meta: Self::Metadata, address: String, config: Option<RpcSignaturesForAddressConfig>, ) -> BoxFuture<Result<Vec<RpcConfirmedTransactionStatusWithSignature>>>
fn get_first_available_block( &self, meta: Self::Metadata, ) -> BoxFuture<Result<Slot>>
fn get_latest_blockhash( &self, meta: Self::Metadata, config: Option<RpcContextConfig>, ) -> Result<RpcResponse<RpcBlockhash>>
fn is_blockhash_valid( &self, meta: Self::Metadata, blockhash: String, config: Option<RpcContextConfig>, ) -> Result<RpcResponse<bool>>
fn get_fee_for_message( &self, meta: Self::Metadata, data: String, config: Option<RpcContextConfig>, ) -> Result<RpcResponse<Option<u64>>>
fn get_stake_minimum_delegation( &self, meta: Self::Metadata, config: Option<RpcContextConfig>, ) -> Result<RpcResponse<u64>>
fn get_recent_prioritization_fees( &self, meta: Self::Metadata, pubkey_strs: Option<Vec<String>>, ) -> Result<Vec<RpcPrioritizationFee>>
Source§fn to_delegate(self) -> IoDelegate<Self, Self::Metadata>
fn to_delegate(self) -> IoDelegate<Self, Self::Metadata>
Create an
IoDelegate, wiring rpc calls to the trait methods.Auto Trait Implementations§
impl Freeze for SurfpoolFullRpc
impl RefUnwindSafe for SurfpoolFullRpc
impl Send for SurfpoolFullRpc
impl Sync for SurfpoolFullRpc
impl Unpin for SurfpoolFullRpc
impl UnwindSafe for SurfpoolFullRpc
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more