Struct solana_core::rpc::RpcSolImpl [−][src]
Trait Implementations
impl RpcSol for RpcSolImpl
[src]
type Metadata = JsonRpcRequestProcessor
fn confirm_transaction(
&self,
meta: Self::Metadata,
id: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<bool>>
[src]
&self,
meta: Self::Metadata,
id: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<bool>>
fn get_account_info(
&self,
meta: Self::Metadata,
pubkey_str: String,
config: Option<RpcAccountInfoConfig>
) -> Result<RpcResponse<Option<UiAccount>>>
[src]
&self,
meta: Self::Metadata,
pubkey_str: String,
config: Option<RpcAccountInfoConfig>
) -> Result<RpcResponse<Option<UiAccount>>>
fn get_multiple_accounts(
&self,
meta: Self::Metadata,
pubkey_strs: Vec<String>,
config: Option<RpcAccountInfoConfig>
) -> Result<RpcResponse<Vec<Option<UiAccount>>>>
[src]
&self,
meta: Self::Metadata,
pubkey_strs: Vec<String>,
config: Option<RpcAccountInfoConfig>
) -> Result<RpcResponse<Vec<Option<UiAccount>>>>
fn get_minimum_balance_for_rent_exemption(
&self,
meta: Self::Metadata,
data_len: usize,
commitment: Option<CommitmentConfig>
) -> Result<u64>
[src]
&self,
meta: Self::Metadata,
data_len: usize,
commitment: Option<CommitmentConfig>
) -> Result<u64>
fn get_program_accounts(
&self,
meta: Self::Metadata,
program_id_str: String,
config: Option<RpcProgramAccountsConfig>
) -> Result<Vec<RpcKeyedAccount>>
[src]
&self,
meta: Self::Metadata,
program_id_str: String,
config: Option<RpcProgramAccountsConfig>
) -> Result<Vec<RpcKeyedAccount>>
fn get_inflation_governor(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<RpcInflationGovernor>
[src]
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<RpcInflationGovernor>
fn get_inflation_rate(&self, meta: Self::Metadata) -> Result<RpcInflationRate>
[src]
fn get_epoch_schedule(&self, meta: Self::Metadata) -> Result<EpochSchedule>
[src]
fn get_balance(
&self,
meta: Self::Metadata,
pubkey_str: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<u64>>
[src]
&self,
meta: Self::Metadata,
pubkey_str: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<u64>>
fn get_recent_performance_samples(
&self,
meta: Self::Metadata,
limit: Option<usize>
) -> Result<Vec<RpcPerfSample>>
[src]
&self,
meta: Self::Metadata,
limit: Option<usize>
) -> Result<Vec<RpcPerfSample>>
fn get_cluster_nodes(&self, meta: Self::Metadata) -> Result<Vec<RpcContactInfo>>
[src]
fn get_epoch_info(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<EpochInfo>
[src]
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<EpochInfo>
fn get_block_commitment(
&self,
meta: Self::Metadata,
block: Slot
) -> Result<RpcBlockCommitment<BlockCommitmentArray>>
[src]
&self,
meta: Self::Metadata,
block: Slot
) -> Result<RpcBlockCommitment<BlockCommitmentArray>>
fn get_genesis_hash(&self, meta: Self::Metadata) -> Result<String>
[src]
fn get_health(&self, meta: Self::Metadata) -> Result<String>
[src]
fn get_leader_schedule(
&self,
meta: Self::Metadata,
slot: Option<Slot>,
commitment: Option<CommitmentConfig>
) -> Result<Option<RpcLeaderSchedule>>
[src]
&self,
meta: Self::Metadata,
slot: Option<Slot>,
commitment: Option<CommitmentConfig>
) -> Result<Option<RpcLeaderSchedule>>
fn get_recent_blockhash(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<RpcBlockhashFeeCalculator>>
[src]
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<RpcBlockhashFeeCalculator>>
fn get_fees(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<RpcFees>>
[src]
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<RpcFees>>
fn get_fee_calculator_for_blockhash(
&self,
meta: Self::Metadata,
blockhash: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<Option<RpcFeeCalculator>>>
[src]
&self,
meta: Self::Metadata,
blockhash: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<Option<RpcFeeCalculator>>>
fn get_fee_rate_governor(
&self,
meta: Self::Metadata
) -> Result<RpcResponse<RpcFeeRateGovernor>>
[src]
&self,
meta: Self::Metadata
) -> Result<RpcResponse<RpcFeeRateGovernor>>
fn get_signature_confirmation(
&self,
meta: Self::Metadata,
signature_str: String,
commitment: Option<CommitmentConfig>
) -> Result<Option<RpcSignatureConfirmation>>
[src]
&self,
meta: Self::Metadata,
signature_str: String,
commitment: Option<CommitmentConfig>
) -> Result<Option<RpcSignatureConfirmation>>
fn get_signature_status(
&self,
meta: Self::Metadata,
signature_str: String,
commitment: Option<CommitmentConfig>
) -> Result<Option<Result<()>>>
[src]
&self,
meta: Self::Metadata,
signature_str: String,
commitment: Option<CommitmentConfig>
) -> Result<Option<Result<()>>>
fn get_snapshot_slot(&self, meta: Self::Metadata) -> Result<Slot>
[src]
fn get_signature_statuses(
&self,
meta: Self::Metadata,
signature_strs: Vec<String>,
config: Option<RpcSignatureStatusConfig>
) -> Result<RpcResponse<Vec<Option<TransactionStatus>>>>
[src]
&self,
meta: Self::Metadata,
signature_strs: Vec<String>,
config: Option<RpcSignatureStatusConfig>
) -> Result<RpcResponse<Vec<Option<TransactionStatus>>>>
fn get_slot(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<Slot>
[src]
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<Slot>
fn get_max_retransmit_slot(&self, meta: Self::Metadata) -> Result<Slot>
[src]
fn get_max_shred_insert_slot(&self, meta: Self::Metadata) -> Result<Slot>
[src]
fn get_transaction_count(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<u64>
[src]
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<u64>
fn get_total_supply(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<u64>
[src]
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<u64>
fn get_largest_accounts(
&self,
meta: Self::Metadata,
config: Option<RpcLargestAccountsConfig>
) -> Result<RpcResponse<Vec<RpcAccountBalance>>>
[src]
&self,
meta: Self::Metadata,
config: Option<RpcLargestAccountsConfig>
) -> Result<RpcResponse<Vec<RpcAccountBalance>>>
fn get_supply(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<RpcSupply>>
[src]
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<RpcSupply>>
fn request_airdrop(
&self,
meta: Self::Metadata,
pubkey_str: String,
lamports: u64,
commitment: Option<CommitmentConfig>
) -> Result<String>
[src]
&self,
meta: Self::Metadata,
pubkey_str: String,
lamports: u64,
commitment: Option<CommitmentConfig>
) -> Result<String>
fn send_transaction(
&self,
meta: Self::Metadata,
data: String,
config: Option<RpcSendTransactionConfig>
) -> Result<String>
[src]
&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>>
[src]
&self,
meta: Self::Metadata,
data: String,
config: Option<RpcSimulateTransactionConfig>
) -> Result<RpcResponse<RpcSimulateTransactionResult>>
fn get_slot_leader(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<String>
[src]
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<String>
fn minimum_ledger_slot(&self, meta: Self::Metadata) -> Result<Slot>
[src]
fn get_vote_accounts(
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<RpcVoteAccountStatus>
[src]
&self,
meta: Self::Metadata,
commitment: Option<CommitmentConfig>
) -> Result<RpcVoteAccountStatus>
fn validator_exit(&self, meta: Self::Metadata) -> Result<bool>
[src]
fn get_identity(&self, meta: Self::Metadata) -> Result<RpcIdentity>
[src]
fn get_version(&self, _: Self::Metadata) -> Result<RpcVersionInfo>
[src]
fn set_log_filter(&self, meta: Self::Metadata, filter: String) -> Result<()>
[src]
fn get_confirmed_block(
&self,
meta: Self::Metadata,
slot: Slot,
encoding: Option<UiTransactionEncoding>
) -> Result<Option<EncodedConfirmedBlock>>
[src]
&self,
meta: Self::Metadata,
slot: Slot,
encoding: Option<UiTransactionEncoding>
) -> Result<Option<EncodedConfirmedBlock>>
fn get_confirmed_blocks(
&self,
meta: Self::Metadata,
start_slot: Slot,
end_slot: Option<Slot>
) -> Result<Vec<Slot>>
[src]
&self,
meta: Self::Metadata,
start_slot: Slot,
end_slot: Option<Slot>
) -> Result<Vec<Slot>>
fn get_confirmed_blocks_with_limit(
&self,
meta: Self::Metadata,
start_slot: Slot,
limit: usize
) -> Result<Vec<Slot>>
[src]
&self,
meta: Self::Metadata,
start_slot: Slot,
limit: usize
) -> Result<Vec<Slot>>
fn get_block_time(
&self,
meta: Self::Metadata,
slot: Slot
) -> Result<Option<UnixTimestamp>>
[src]
&self,
meta: Self::Metadata,
slot: Slot
) -> Result<Option<UnixTimestamp>>
fn get_confirmed_transaction(
&self,
meta: Self::Metadata,
signature_str: String,
encoding: Option<UiTransactionEncoding>
) -> Result<Option<EncodedConfirmedTransaction>>
[src]
&self,
meta: Self::Metadata,
signature_str: String,
encoding: Option<UiTransactionEncoding>
) -> Result<Option<EncodedConfirmedTransaction>>
fn get_confirmed_signatures_for_address(
&self,
meta: Self::Metadata,
pubkey_str: String,
start_slot: Slot,
end_slot: Slot
) -> Result<Vec<String>>
[src]
&self,
meta: Self::Metadata,
pubkey_str: String,
start_slot: Slot,
end_slot: Slot
) -> Result<Vec<String>>
fn get_confirmed_signatures_for_address2(
&self,
meta: Self::Metadata,
address: String,
config: Option<RpcGetConfirmedSignaturesForAddress2Config>
) -> Result<Vec<RpcConfirmedTransactionStatusWithSignature>>
[src]
&self,
meta: Self::Metadata,
address: String,
config: Option<RpcGetConfirmedSignaturesForAddress2Config>
) -> Result<Vec<RpcConfirmedTransactionStatusWithSignature>>
fn get_first_available_block(&self, meta: Self::Metadata) -> Result<Slot>
[src]
fn get_stake_activation(
&self,
meta: Self::Metadata,
pubkey_str: String,
config: Option<RpcStakeConfig>
) -> Result<RpcStakeActivation>
[src]
&self,
meta: Self::Metadata,
pubkey_str: String,
config: Option<RpcStakeConfig>
) -> Result<RpcStakeActivation>
fn get_token_account_balance(
&self,
meta: Self::Metadata,
pubkey_str: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<UiTokenAmount>>
[src]
&self,
meta: Self::Metadata,
pubkey_str: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<UiTokenAmount>>
fn get_token_supply(
&self,
meta: Self::Metadata,
mint_str: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<UiTokenAmount>>
[src]
&self,
meta: Self::Metadata,
mint_str: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<UiTokenAmount>>
fn get_token_largest_accounts(
&self,
meta: Self::Metadata,
mint_str: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<Vec<RpcTokenAccountBalance>>>
[src]
&self,
meta: Self::Metadata,
mint_str: String,
commitment: Option<CommitmentConfig>
) -> Result<RpcResponse<Vec<RpcTokenAccountBalance>>>
fn get_token_accounts_by_owner(
&self,
meta: Self::Metadata,
owner_str: String,
token_account_filter: RpcTokenAccountsFilter,
config: Option<RpcAccountInfoConfig>
) -> Result<RpcResponse<Vec<RpcKeyedAccount>>>
[src]
&self,
meta: Self::Metadata,
owner_str: String,
token_account_filter: RpcTokenAccountsFilter,
config: Option<RpcAccountInfoConfig>
) -> Result<RpcResponse<Vec<RpcKeyedAccount>>>
fn get_token_accounts_by_delegate(
&self,
meta: Self::Metadata,
delegate_str: String,
token_account_filter: RpcTokenAccountsFilter,
config: Option<RpcAccountInfoConfig>
) -> Result<RpcResponse<Vec<RpcKeyedAccount>>>
[src]
&self,
meta: Self::Metadata,
delegate_str: String,
token_account_filter: RpcTokenAccountsFilter,
config: Option<RpcAccountInfoConfig>
) -> Result<RpcResponse<Vec<RpcKeyedAccount>>>
fn get_velas_accounts_by_owner_key(
&self,
meta: Self::Metadata,
pubkey_str: String
) -> Result<RpcResponse<Vec<String>>>
[src]
&self,
meta: Self::Metadata,
pubkey_str: String
) -> Result<RpcResponse<Vec<String>>>
fn get_velas_accounts_by_operational_key(
&self,
meta: Self::Metadata,
pubkey_str: String
) -> Result<RpcResponse<Vec<String>>>
[src]
&self,
meta: Self::Metadata,
pubkey_str: String
) -> Result<RpcResponse<Vec<String>>>
fn to_delegate(self) -> IoDelegate<Self, Self::Metadata>
[src]
Auto Trait Implementations
impl RefUnwindSafe for RpcSolImpl
impl Send for RpcSolImpl
impl Sync for RpcSolImpl
impl Unpin for RpcSolImpl
impl UnwindSafe for RpcSolImpl
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[src]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,